Garden 🌻

PathInfo type

Metadata about a filesystem path, returned by Path.info.

is_symlink is True when this path is itself a symbolic link. size is the size of the file in bytes. For symbolic links, size is the length of the link target rather than the size of the file it points to.

Source Code
struct PathInfo {
  is_file: Bool,
  is_directory: Bool,
  is_symlink: Bool,
  size: Int,
}