- type AttrName = String
- data XattrMode
- = RegularMode
- | CreateMode
- | ReplaceMode
Data Types
The name of an attribute. Some filesystems support arbitrarily long names, but for portability you're recommended to limit this to 255 bytes.
Represents the mode for an update (i.e. set) operation
RegularMode | The attribute will be created if it does not yet exist, and replace the existing named attribute otherwise. |
CreateMode | Specifies a pure create, which fails if the named attribute exists already. |
ReplaceMode | Specifies a pure replace operation, which fails if the named attribute does not already exist. |