Module safe_core::nfs::file_helper [] [src]

FileHelper provides functions for CRUD on file

Functions

delete

Delete a file from the Directory

fetch

Gets a file from the directory

insert

Insert the file into the directory.

read

Returns a reader for reading the file contents

update

Updates the file. If version is 0, the current version is first retrieved from the network, and that version incremented by one is then used as the actual version.

write

Helper function to Update content of a file in a directory. A writer object is returned, through which the data for the file can be written to the network. The file is actually saved in the directory listing only after writer.close() is invoked