klyn.io.FolderPath.toAbsoluteFolder
method
public toAbsoluteFolder() as FolderPath throws IOException
Description

Returns a lexically normalized absolute FolderPath without querying target metadata on disk.

Returns

Normalized absolute FolderPath preserving parent-traversal provenance.

Throws
  • IOException If the working directory cannot be resolved.
Example
import klyn.io

folder = FolderPath(".").toAbsoluteFolder()
assert folder.isAbsolute