FileSystemEntity absolute

Returns a FileSystemEntity whose path is the absolute path to this. The type of the returned instance is the type of this.

The absolute path is computed by prefixing a relative path with the current working directory, and returning an absolute path unchanged.

Source

FileSystemEntity get absolute;