arrow.file_info
Module for [FileInfo] class
Types 3
Methods
FileInfoGidBuilder builder()Get builder for [arrow.file_info.FileInfo] Returns: New builder objectstring 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).void mtime(long propval) @propertySet `mtime` property. Params: propval = The time of last modification, if available.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.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_()Methods
T mtime(long propval)Set `mtime` property. Params: propval = The time of last modification, if available. Returns: Builder instance for fluent chainingT path(string propval)Set `path` property. Params: propval = The full file path in the file system. Returns: Builder instance for fluent chainingT 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 chainingT type(arrow.types.FileType propval)Set `type` property. Params: propval = The type of the entry. Returns: Builder instance for fluent chaining