|
FileSurfer 2.1.2
Cross-platform file manager with support for Git and SFTP
|
Represents file metadata and identity information. More...


Public Member Functions | |
| FileEntryInfo (string pathToFile, string name, string extension, long sizeB, DateTime lastModified, DateTime lastModifiedUtc) | |
| Initializes a new FileEntryInfo from explicit metadata values. | |
| FileEntryInfo (FileInfo fileInfo) | |
| Initializes a new FileEntryInfo from a FileInfo instance. | |
| Public Member Functions inherited from FileSurfer.Core.Models.FileEntry | |
| FileEntry (string pathToFile, IPathTools pathTools) | |
| Initializes a new FileEntry from a path using path-tool name and extension parsing. | |
Properties | |
| DateTime | LastModified [get] |
| Gets the file last modification time in local time. | |
| DateTime | LastModifiedUtc [get] |
| Gets the file last modification time in UTC. | |
| long | SizeB [get] |
| Gets file size in bytes. | |
| Properties inherited from FileSurfer.Core.Models.FileEntry | |
| string | PathToEntry [get] |
| Path to the file, directory, or drive represented by this IFileSystemEntry. | |
| string | Name [get] |
| Holds the name of file, directory, or drive represented by this IFileSystemEntry. | |
| string | Extension [get] |
| Holds the extension of this file's name. | |
| string | NameWoExtension [get] |
| Holds this entry's name without the extension. | |
Additional Inherited Members | |
| Protected Member Functions inherited from FileSurfer.Core.Models.FileEntry | |
| FileEntry (string pathToFile, string name, string extension) | |
| Initializes a new FileEntry from precomputed path, name, and extension values. | |
Represents file metadata and identity information.
|
inline |
Initializes a new FileEntryInfo from explicit metadata values.
| pathToFile | Full path to the file. |
| name | File name. |
| extension | File extension including dot, or an empty string. |
| sizeB | File size in bytes. |
| lastModified | Last modification time in local time. |
| lastModifiedUtc | Last modification time in UTC. |
|
inline |
Initializes a new FileEntryInfo from a FileInfo instance.
| fileInfo | Source file information. |
|
get |
Gets the file last modification time in local time.
|
get |
Gets the file last modification time in UTC.
|
get |
Gets file size in bytes.