arrow.file_info
Module for [FileInfo] class
Types 3
Methods
FileInfoGidBuilder builder() static nothrowGet builder for [arrow.file_info.FileInfo] Returns: New builder objectstring 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.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.void type(arrow.types.FileType propval) @property nothrowSet `type` property. Params: propval = The type of the entry.bool equal(arrow.file_info.FileInfo otherFileInfo) nothrowbool isDir() nothrowbool isFile() nothrowstring toString_() nothrowFluent 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 chainingT path(string propval) nothrowSet `path` property. Params: propval = The full file path in the file system. Returns: Builder instance for fluent chainingT 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 chainingT type(arrow.types.FileType propval) nothrowSet `type` property. Params: propval = The type of the entry. Returns: Builder instance for fluent chainingFluent builder for arrow.file_info.FileInfo