# Functions
Append reads data out of reader and appends it to the file.
Before eturn true if name1 was last modified before name2.
Branch creates a new writeable branch from commit.
Changed returns true if `mtime` is after the filesystem time for name.
No description provided by the author
Chtimes changes the access and modification times of a file.
Commit creates a new commit on a branch.
Commits is a wrapper around `Log` which parses the output in to a convenient struct.
CopyFile copies the contents of `r` in the a file.
Create creates a new file in the btrfs volume.
CreateAll is like create but it will create the directory for the file if it doesn't already exist.
CreateFromReader is like Create but automatically sets the content of the file to the data found in `r`.
DanglingCommit creates a commit but resets the branch to point to its current parent.
No description provided by the author
Ensure is like Init but won't error if the repo is already present.
FileExists returns true if a file exists in the filesystem.
FilePath returns an absolute path for a file in the btrfs volume *inside* the container.
FindNew returns an array of filenames that were created or modified between `from` and `to`.
GetMeta gets metadata from a commit or branch.
Glob returns the names of all files matching pattern or nil if there's no match.
HostPath returns an absolute for a file *outside* the container.
Init initializes an empty repo.
IsCommit returns true if the volume is a commit and false if it's a branch.
Lstat returns FileInfo describing a file, if the file is a symbolic link it still works.
Mkdir creates a directory.
MkdirAll creates a directory and all parent directories.
NewIn returns all of the files that changed in a commit.
No description provided by the author
No description provided by the author
Open opens a file for reading.
OpenFd opens a file and gives you the file descriptor.
OpenFile is a generalize form of Open.
Pull produces a binary diff stream from repo and passes it to cb.
ReadDir returns a list of files found in the name directory.
ReadFile returns the contents of a file.
Remove removes a file or directory.
RemoveAll removes a path and any children it contains.
Rename renames a file.
SetMeta sets metadata for a branch.
No description provided by the author
Stat returns a FileInfo describing a file.
WaitAnyFile returns as soon as ANY of the files exists.
WaitFile waits for a file to exist in the filesystem NOTE: You NEVER want to pass an unbuffered channel as cancel because WaitFile provides no guarantee that it will ever read from cancel.
Writefile sets the contents of a file to `data`.