Record TFileInfo
Hierarchy
Methods
Properties
Unit
CastleFindFiles
Declaration
type TFileInfo = record
Description
Information about a single file or directory collected by FindFiles.
Overview
Fields
Description
Fields
|
Name: String; |
Filename, without any directory path.
|
|
AbsoluteName: String; |
Expanded (with absolute path) file name. Only when URL is using "file" protocol. You should prefer to use URL field instead of this, to work with all possible URLs.
|
|
Url: String; |
Absolute URL.
|
|
Directory: Boolean; |
This item has no description. |
|
Symlink: Boolean; |
Whether this is a symbolic link. Note that this is independent from Directory: symlinks may have Directory=false (when the symlink is to file) or Directory=true (when the symlink is to directory, and thus can be browsed like directory).
|
|
Size: QWord; |
File size in bytes.
Undefined in case of Directory, we do not sum the directory size (all files inside) here, as it is a costly operation for large directories. Use DirectorySize if you want to calculate directory size.
This may be 0 in case of URL pointing to non-local file, e.g. http (though we cannot search in such URLs anyway).
|
Generated by PasDoc 0.16.0-snapshot.