klyn.io.Path.get
method
public static get(filename as String) as Path:
Description

Resolves an existing filesystem path and returns a typed path instance.

Parameters
  • filename Existing file or folder path.
Returns

FilePath if the target is a file, FolderPath if it is a folder, otherwise a raw Path when the target does not exist yet.