Stat

data class Stat(val path: String, 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: String, baseDirectory: BaseDirectory = CurrentWorkingDirectory, followSymlinks: Boolean = true)

Types

Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard