Stat
class Stat(val path: VirtualPath, val baseDirectory: BaseDirectory = CurrentWorkingDirectory, val followSymlinks: Boolean = true)(source)
Retrieves information about the file at the given path. If path is relative, it will be resolved using the baseDirectory provided.
By default, all symbolic links are followed. If followSymlinks is set to false and path is a symbolic link, the status of the symbolic link itself is returned instead of the target file.
Constructors
Link copied to clipboard
constructor(path: VirtualPath, baseDirectory: BaseDirectory = CurrentWorkingDirectory, followSymlinks: Boolean = true)