Copies files or folders from/to paths under this provider.
The absolute source path.
The absolute destination path.
Copy flags like recursive.
Done, or why not.
Makes one folder; its parent must exist. Absent, the mount makes none.
The absolute path of the new folder.
Done, or why not (EEXIST, ENOENT for a missing parent, ...).
Makes a folder and any missing parents in one step, for a mount whose
store can (mkdir -p). Absent, mkdir -p makes each missing parent in
turn.
The absolute path of the folder.
Done, or why not (EEXIST when something is already there).
Reads a file whole, as text.
The absolute path of the file.
Its content, or why not (ENOENT, EISDIR, ...).
Reads a file whole, as bytes.
The absolute path of the file.
Its bytes, or why not.
Renames an entry within this mount (mv).
The absolute path now.
The absolute path it takes.
Done, or why not (ENOENT, EEXIST where the mount cannot replace, ...).
Removes a file or a link (rm); a folder is refused with EISDIR.
The absolute path of the entry.
Done, or why not.
Removes an empty folder (rmdir).
The absolute path of the folder.
Done, or why not (ENOENT, ENOTDIR, ENOTEMPTY, ...).
Removes a folder and everything under it in one step, for a mount
whose store can (rm -r). Absent, rm -r removes what it holds one
entry at a time.
The absolute path of the folder.
Done, or why not.
Writes a file whole: its content after the write is exactly what was given, whether or not it existed before. Absent, the mount holds no writable files.
The absolute path of the file.
The new content, whole.
Done, or why not (ENOENT for a missing folder, EISDIR, ...).
Native ChRIS filesystem provider operating on absolute CUBE folders.