Skip to content

Metadata

Windows file metadata.

Inherits from: fs.Metadata

Fields

archive @ Bool [get]

Whether the archive attribute is set. Windows

compressed @ Bool [get]

Whether the platform compressed flag is set.

encrypted @ Bool [get]

Whether the encrypted attribute is set. Windows

group @ (security.windows.Sid | nil) [get]

Owning group: the gid as an Int on Unix, or the primary group Sid on Windows.

This representation matches the group argument accepted by update_metadata.

hidden @ Bool [get]

Whether the platform hidden flag is set.

not_content_indexed @ Bool [get]

Whether the not-content-indexed attribute is set.

offline @ Bool [get]

Whether the offline attribute is set. Windows

owner @ (security.windows.Sid | nil) [get]

Owner: the uid as an Int on Unix, or the owner Sid on Windows.

This representation matches the owner argument accepted by update_metadata.

readonly @ Bool [get]

Whether the readonly attribute is set. Windows

reparse_point @ Bool [get]

Whether the reparse-point attribute is set.

sparse @ Bool [get]

Whether sparse allocation is enabled. Windows

system @ Bool [get]

Whether the system attribute is set. Windows

temporary @ Bool [get]

Whether the temporary attribute is set. Windows

win_attrs @ Int [get]

Raw Windows file attribute bitmask.