Crate libpijul [] [src]

Reexports

pub use patch::Patch;

Modules

conflict
error
file_operations
fs_representation

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.

graph
patch

Structs

Branch
Edge
Key
LineId
PatchId
Repository
SmallString

Enums

Hash
InodeUpdate

Constants

DEFAULT_BRANCH
DELETED_EDGE
FOLDER_EDGE
PARENT_EDGE
ROOT_INODE
ROOT_KEY

Traits

RepositoryEnv
Transaction

Trait for operations common to mutable and immutable transactions.

Functions

apply_resize

Apply a number of patches, guessing the new repository size. If this fails, the repository size is guaranteed to have been increased by at least some pages, and it is safe to call this function again.

apply_resize_no_output

Apply a number of patches, guessing the new repository size. If this fails, the repository size is guaranteed to have been increased by at least some pages, and it is safe to call this function again.

Type Definitions

ApplyTimestamp
MutTxn
Txn