LLM docs

FileMetadata

FileMetadata

An opaque type that represents metadata about a file.

bytes : FileMetadata -> U64

Returns the number of bytes in the associated file.

isReadonly : FileMetadata -> Bool

Returns Bool.true if the associated file is read-only.

type : FileMetadata -> [ File, Dir, Symlink ]

Returns the type of the associated file.

mode : FileMetadata -> [ Unix U32, NonUnix ]

Returns the mode of the associated file.