arrow.file_info

Module for [FileInfo] class

Types 3

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

Fluent builder implementation template for arrow.file_info.FileInfo

Methods
T mtime(long propval) nothrowSet `mtime` property. Params: propval = The time of last modification, if available. Returns: Builder instance for fluent chaining
T path(string propval) nothrowSet `path` property. Params: propval = The full file path in the file system. Returns: Builder instance for fluent chaining
T size(long propval) nothrowSet `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) nothrowSet `type` property. Params: propval = The type of the entry. Returns: Builder instance for fluent chaining

Fluent builder for arrow.file_info.FileInfo

Methods
FileInfo build() nothrowCreate object from builder. Returns: New object