Change the permissions.
Can throw:
The file path
The desired mode
Creates a directory.
Can throw:
The wanted dir path
The wanted mode for the wanted dir
Creates a file otherwise
Can throw:
The directory where the file will be saved
The BLOB file hash
The file name
The file mode
Reads a directory.
Can throw:
The directory path
Reads a file.
Can throw:
The file path
Reads a file in chunks by a given len and position.
Can throw:
The file path
Reads a link.
Can throw:
The file path
Rename file.
Can throw:
The src path
The dest path
Stat a file.
Can throw:
Creates a symlink.
Can throw:
The src path
The dest path
File system generic interface
Common file system interface for future file systems implementations. In order to achieve this, any file system will have to implement the Interface and transform their data output in order to match function's signatures.
The following interfaces are used in order to create a common return type for most of the calls.
Usage: