arrow.file_system

Module for [FileSystem] class

Types 3

Methods
GType _gType() @property
FileSystem self()Returns `this`, for use in `with` statements.
FileSystemGidBuilder builder()Get builder for [arrow.file_system.FileSystem] Returns: New builder object
arrow.file_system.FileSystem create(string uri)This is a factory function to create a specific #GArrowFileSystem object.
bool copyFile(string src, string dest)Copy a file. If the destination exists and is a directory, an error is returned. Otherwise, it is replaced.
bool createDir(string path, bool recursive)Create a directory and subdirectories. This function succeeds if the directory already exists.
bool deleteDir(string path)Delete a directory and its contents, recursively.
bool deleteDirContents(string path)Delete a directory's contents, recursively. Like [arrow.file_system.FileSystem.deleteDir], but doesn't delete the directory itself. Passing an empty path (`""`) will wipe the entire file system tree.
bool deleteFile(string path)Delete a file.
bool deleteFiles(string[] paths)Delete many files.
arrow.file_info.FileInfo getFileInfo(string path)Get information for the given target.
arrow.file_info.FileInfo[] getFileInfosPaths(string[] paths)Get information same as [arrow.file_system.FileSystem.getFileInfo] for the given many targets at once.
arrow.file_info.FileInfo[] getFileInfosSelector(arrow.file_selector.FileSelector fileSelector)Get information same as [arrow.file_system.FileSystem.getFileInfo] according to a selector.
string getTypeName()
bool move(string src, string dest)Move / rename a file or a directory. If the destination exists: * if it is a non-empty directory. )
arrow.output_stream.OutputStream openAppendStream(string path)Open an output stream for appending. If the target doesn't exist, a new empty file is created.
arrow.seekable_input_stream.SeekableInputStream openInputFile(string path)Open an input file for random access reading.
arrow.input_stream.InputStream openInputStream(string path)Open an input stream for sequential reading.
arrow.output_stream.OutputStream openOutputStream(string path)Open an output stream for sequential writing. If the target already exists, the existing data is truncated.
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder for [arrow.file_system.FileSystem]

Methods