public static kindFor(path as Path, folder as Boolean = false, volume as Boolean = false) as String
Classifies an already known entry without checking its existence or type.
| Parameter | Description |
|---|---|
path | Typed path, or null for a generic document. |
folder | Known directory flag; FolderPath also implies a directory. |
volume | Known filesystem root/volume flag. |
A kind accepted by draw().
kind = FileSystemIcons.kindFor(FilePath("main.kn"))