xattr-0.5.2: Haskell bindings to libattr

System.Xattr.Types

Contents

Synopsis

Data Types

type AttrName = StringSource

The name of an attribute. Some filesystems support arbitrarily long names, but for portability you're recommended to limit this to 255 bytes.

data XattrMode Source

Represents the mode for an update (i.e. set) operation

Constructors

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.