FileAttributeInfoList#

class FileAttributeInfoList(**kwargs)#

Acts as a lightweight registry for possible valid file attributes. The registry stores Key-Value pair formats as FileAttributeInfo.

Constructors#

class FileAttributeInfoList
classmethod new() FileAttributeInfoList#

Creates a new file attribute info list.

Methods#

class FileAttributeInfoList
add(name: str, type: FileAttributeType, flags: FileAttributeInfoFlags) None#

Adds a new attribute with name to the list, setting its type and flags.

Parameters:
dup() FileAttributeInfoList#

Makes a duplicate of a file attribute info list.

lookup(name: str) FileAttributeInfo#

Gets the file attribute with the name name from list.

Parameters:

name – the name of the attribute to look up.

Fields#

class FileAttributeInfoList
infos#

An array of FileAttributeInfo.

n_infos#

The number of values in the array.