arrow.file_info

Module for [FileInfo] class

Types 3

Methods
GType _gType() @property
FileInfo self()Returns `this`, for use in `with` statements.
FileInfoGidBuilder builder()Get builder for [arrow.file_info.FileInfo] Returns: New builder object
string baseName() @propertyGet `baseName` property. Returns: The file base name (component after the last directory separator).
string dirName() @propertyGet `dirName` property. Returns: The directory base name (component before the file base name).
string extension() @propertyGet `extension` property. Returns: The file extension (excluding the dot).
long mtime() @propertyGet `mtime` property. Returns: The time of last modification, if available.
void mtime(long propval) @propertySet `mtime` property. Params: propval = The time of last modification, if available.
string path() @propertyGet `path` property. Returns: The full file path in the file system.
void path(string propval) @propertySet `path` property. Params: propval = The full file path in the file system.
long size() @propertyGet `size` property. Returns: The size in bytes, if available Only regular files are guaranteed to have a size.
void size(long propval) @propertySet `size` property. Params: propval = The size in bytes, if available Only regular files are guaranteed to have a size.
arrow.types.FileType type() @propertyGet `type` property. Returns: The type of the entry.
void type(arrow.types.FileType propval) @propertySet `type` property. Params: propval = The type of the entry.
bool equal(arrow.file_info.FileInfo otherFileInfo)
bool isDir()
bool isFile()
string toString_()
Constructors
this(void * ptr, Flag!"Take" take)
Methods
T mtime(long propval)Set `mtime` property. Params: propval = The time of last modification, if available. Returns: Builder instance for fluent chaining
T path(string propval)Set `path` property. Params: propval = The full file path in the file system. Returns: Builder instance for fluent chaining
T size(long propval)Set `size` property. Params: propval = The size in bytes, if available Only regular files are guaranteed to have a size. Returns: Builder instance for fluent chaining
T type(arrow.types.FileType propval)Set `type` property. Params: propval = The type of the entry. Returns: Builder instance for fluent chaining

Fluent builder for [arrow.file_info.FileInfo]

Methods