Module libpijul_compat::fs_representation
[−]
[src]
Layout of a repository (files in .pijul
) on the disk. This
module exports both high-level functions that require no knowledge
of the repository, and lower-level constants documented on
pijul.org/documentation/repository,
used for instance for downloading files from remote repositories.
Constants
PIJUL_DIR_NAME |
Name of the root directory, i.e. |
Functions
branch_changes_base_path |
Basename of the changes file for branch |
branch_changes_file |
Changes file from the repository root and branch name. |
create |
Create a repository. |
find_repo_root |
Find the repository root from one of its descendant
directories. Return |
id_file |
The id file is used for remote operations, to identify a repository and save bandwidth when the remote state is partially known. |
meta_file |
The meta file, where user preferences are stored. |
patch_file_name |
Basename of the patch corresponding to the given patch hash. |
patches_dir |
Directory where the patches are. |
pristine_dir |
Directory where the pristine is, from the root of the repository.
For instance, if the repository in in |
read_dependencies |
Read a patch, but without the "changes" part, i.e. the actual contents of the patch. |
read_patch |
Read a complete patch. |
read_patch_nochanges |
Read a patch, but without the "changes" part, i.e. the actual contents of the patch. |
repo_dir |
Concatenate the parameter with |
untracked_files |