•metadata — File metadata

•metadata paths gives a table with a row for each path, as a record of columns. The columns follow Rust's std::fs::Metadata:

ColumnGives
path, nameThe path as given, and its last part
kind"file", "dir", "symlink" or "other", or "none" for a path that doesn't exist
targetFor a symbolic link, the path it points to, as Rust's std::fs::read_link gives it. Empty for any other entry
lenThe size in bytes
modified, accessed, createdMoments, in seconds since the Unix epoch, as •date reads them. NaN when the system records none
readonlyWhether the permissions forbid writing
hiddenWhether the name starts with .
readable, writable, executableWhether this process may read, write or execute the entry
uid, mode, ownerOn Unix only: the owner's numeric ID, the mode bits and the owner's name

A symbolic link's kind is "symlink". Its other columns describe the entry it points to.

Errors: DOMAIN when a path isn't text.