plebeia
-
plebeia
-
-
plebeia.msync
-
plebeia.test_utils
-
Library
Module
Module type
Parameter
Class
Class type
Monad for synchronous file system operations
val check_tree_invariant : unit t
For debugging. Check the invariant of the current tree.
val raw_cursor : raw_cursor t
Get the current underlying raw cursor
copy src dst
sets the tree at src
to dst
. dst
must not be empty.
Create or update a regular file. Directories are created if necessary. The path must not be empty.
Remove a regular file or a directory. The path must not be empty.
recursive=false : fails when the target is a directory recursive=true : removes the target recursively if it is a directory ignore_error=false : fails when the target does not exist ignore_error=true : does not fail even if the target does not exist
Returns true
if the target is really removed. Returns false
if the target does not exist.
Recursive removal of a directory. The path must not be empty.
ignore_error=false : fails when the target does not exist ignore_error=true : does not fail even if the target does not exist
Returns true
if the target is really removed. Returns false
if the target does not exist.
Clear the memory cache of the tree under the current tree, if it is already persisted on the disk.
Get the subtree of the specified path. It also returns the view of the subtree.