Class FileTree
Contains file infos of this and descendant folders and files retrieved by filesystem.enumerate. Can print a formatted list of descendant sizes.
public class FileTree : TreeBase<FileTree>
Namespace: Au.More
Assembly: Au.dll
Inherited Members
Properties
Name | Description |
---|---|
Info | Gets the info retrieved by filesystem.enumerate. |
IsDirectory | It is a directory. Or a NTFS link to a directory (see FEFile.IsNtfsLink). |
Name | Filename. |
Path | Full path. |
Size | Gets the file size. If directory, it's the sum of all descendant file sizes. |
Methods
Name | Description |
---|---|
Create(string, bool, long, bool, bool, Func<FEFile, bool>, Func<FEFile, bool>) | Calls filesystem.enumerate and creates a tree of descendants. |
PrintSizes(string, bool, double, bool, bool, Func<FEFile, bool>, Func<FEFile, bool>) | Formats and prints a list of sizes and names of folder's descendant folders and optionally files, with a header. |
PrintSizes(StringBuilder) | Appends to a StringBuilder a list of sizes and names of descendants, formatted for print.it, without a header. |