Adds a new child node to the filesystem path.
Adds a new child node to the filesystem path.
the node name.
the new file descriptor with the updated path
Changes the path of the file descriptor using unix's cd syntax related to the current directory.
Changes the path of the file descriptor using unix's cd syntax related to the current directory. Ex: Go back to directories: ../.. Go to child directories: foo/bar Go to sibling directory: ../foo Absolute path changes are not supported.
the cd command
the new file descriptor with the updated path
Deletes the file associated with the file descriptor
Deletes the file associated with the file descriptor
true
if the delete was successful, false
otherwise.
Downloads the file to the given local destination.
Downloads the file to the given local destination. Both the source and the destination must point to a file.
the local destination to which this file should be downloaded. The path must be absolute path to the final file.
downloads the file to filename + ".tmp" and renames it to the original name if the download was successful.
true
if the download was successful, false
otherwise.
Returns true if the file pointed by the file descriptor exists
Returns true if the file pointed by the file descriptor exists
true if the file pointed by the file descriptor exists
Returns true if the fd points to a directory
Returns true if the fd points to a directory
true if the fd points to a directory
Returns an iterator with the lines of this file.
Returns an iterator with the lines of this file.
an iterator with the lines of this file.
Lists the files in the current file descriptor directory
Lists the files in the current file descriptor directory
a iterator of file descriptors
Lists all files down the file hierarchy tree that whose relative path match the given prefix
Lists all files down the file hierarchy tree that whose relative path match the given prefix
the prefix to match given each file relative path to the current directory
a iterator of file descriptors
The Logger
object.
The Logger
object. This logger will have the same name as the concrete class
into which this trait is mixed-in.
Creates intermediary directories
Creates intermediary directories
true if the creation of successful, false otherwise.
Returns a new file descriptor pointing to a sibling of the current file descriptor
Returns a new file descriptor pointing to a sibling of the current file descriptor
a function that returns a new name from the current name of the file descriptor
a new file descriptor pointing to a sibling of the current file descriptor
Returns a new file descriptor pointing to a sibling of the current file descriptor
Returns a new file descriptor pointing to a sibling of the current file descriptor
the file name of the new file descriptor
a new file descriptor pointing to a sibling of the current file descriptor
The size of the file associated with the file descriptor.
The size of the file associated with the file descriptor.
Returns an input stream for the contents of this file.
Returns an input stream for the contents of this file.
bytes to skip before reading the file.
an input stream for the contents of this file.
Uploads an input stream to this file's location.
Uploads an input stream to this file's location. The target must point to a file.
the input stream that should be uploaded.
the input stream length (leaving this as None
can have performance implications)
true
if the upload was successful, false
otherwise.
Uploads a local file to this file's location.
Uploads a local file to this file's location. Both the source and the target must point to a file.
the local file that should be uploaded. The path must be absolute path to the final file.
true
if the upload was successful, false
otherwise.