Maintainer | gtk2hs-devel@lists.sourceforge.net Stability : alpha Portability : portable (depends on GHC) |
---|
- data FileAttributeType
- data FileAttributeInfo = FileAttributeInfo {}
- data FileAttributeInfoFlags
- fileAttributeStandardType, fileAttributeStandardDescription, fileAttributeTrashDeletionDate, fileAttributeTrashOrigPath, fileAttributeFilesystemUsePreview, fileAttributeTrashItemCount, fileAttributeSELinuxContext, fileAttributeGVfsBackend, fileAttributeFilesystemReadonly, fileAttributeFilesystemType, fileAttributeFilesystemFree, fileAttributeFilesystemSize, fileAttributePreviewIcon, fileAttributeThumbnailingFailed, fileAttributeThumbnailPath, fileAttributeOwnerGroup, fileAttributeOwnerUserReal, fileAttributeOwnerUser, fileAttributeDosIsSystem, fileAttributeDosIsArchive, fileAttributeDosIsMountpoint, fileAttributeUnixBlocks, fileAttributeUnixBlockSize, fileAttributeUnixRDev, fileAttributeUnixGID, fileAttributeUnixUID, fileAttributeUnixNLink, fileAttributeUnixMode, fileAttributeUnixInode, fileAttributeUnixDevice, fileAttributeTimeCreatedUSec, fileAttributeTimeCreated, fileAttributeTimeChangedUSec, fileAttributeTimeChanged, fileAttributeTimeAccessUSec, fileAttributeTimeAccess, fileAttributeTimeModifiedUSec, fileAttributeTimeModified, fileAttributeMountableHalUDI, fileAttributeMountableCanPoll, fileAttributeMountableStartStopType, fileAttributeMountableCanStop, fileAttributeMountableCanDegraded, fileAttributeMountableCanStart, fileAttributeMountableUnixDeviceFile, fileAttributeMountableUnixDevice, fileAttributeMountableCanEject, fileAttributeMountableCanUnmount, fileAttributeMountableCanMount, fileAttributeAccessCanRename, fileAttributeAccessCanTrash, fileAttributeAccessCanDelete, fileAttributeAccessCanExecute, fileAttributeAccessCanWrite, fileAttributeAccessCanRead, fileAttributeIDFilesystem, fileAttributeIDFile, fileAttributeEtagValue, fileAttributeStandardSortOrder, fileAttributeStandardTargetURI, fileAttributeStandardSymlinkTarget, fileAttributeStandardAllocatedSize, fileAttributeStandardSize, fileAttributeStandardFastContentType, fileAttributeStandardContentType, fileAttributeStandardIcon, fileAttributeStandardCopyName, fileAttributeStandardEditName, fileAttributeStandardDisplayName, fileAttributeStandardName, fileAttributeStandardIsVirtual, fileAttributeStandardIsSymlink, fileAttributeStandardIsBackup, fileAttributeStandardIsHidden :: String
Details
File attributes in GIO consist of a list of key-value pairs.
Keys are strings that contain a key namespace and a key name, separated by a colon, e.g. namespace:keyname. Namespaces are included to sort key-value pairs by namespaces for relevance. Keys can be retrived using wildcards, e.g. "standard::*" will return all of the keys in the standard namespace.
Values are stored within the list in FileAttributeValue
structures. Values can store different
types, listed in the enum FileAttributeType
. Upon creation of a FileAttributeValue
, the type will
be set to FileAttributeTypeInvalid
.
The list of possible attributes for a filesystem (pointed to by a File
) is availible as a
FileAttributeInfoList
. This list is queryable by key names as indicated earlier.
Classes that implement FileIface
will create a FileAttributeInfoList
and install default keys and
values for their given file system, architecture, and other possible implementation details (e.g.,
on a UNIX system, a file attribute key will be registered for the user id for a given file).
Types
data FileAttributeType Source
Enums
data FileAttributeInfoFlags Source
Flags specifying the behaviour of an attribute.
Bounded FileAttributeInfoFlags | |
Enum FileAttributeInfoFlags |
|
Eq FileAttributeInfoFlags | |
Ord FileAttributeInfoFlags | |
Read FileAttributeInfoFlags | |
Show FileAttributeInfoFlags | |
Flags FileAttributeInfoFlags |
Methods
fileAttributeStandardType, fileAttributeStandardDescription, fileAttributeTrashDeletionDate, fileAttributeTrashOrigPath, fileAttributeFilesystemUsePreview, fileAttributeTrashItemCount, fileAttributeSELinuxContext, fileAttributeGVfsBackend, fileAttributeFilesystemReadonly, fileAttributeFilesystemType, fileAttributeFilesystemFree, fileAttributeFilesystemSize, fileAttributePreviewIcon, fileAttributeThumbnailingFailed, fileAttributeThumbnailPath, fileAttributeOwnerGroup, fileAttributeOwnerUserReal, fileAttributeOwnerUser, fileAttributeDosIsSystem, fileAttributeDosIsArchive, fileAttributeDosIsMountpoint, fileAttributeUnixBlocks, fileAttributeUnixBlockSize, fileAttributeUnixRDev, fileAttributeUnixGID, fileAttributeUnixUID, fileAttributeUnixNLink, fileAttributeUnixMode, fileAttributeUnixInode, fileAttributeUnixDevice, fileAttributeTimeCreatedUSec, fileAttributeTimeCreated, fileAttributeTimeChangedUSec, fileAttributeTimeChanged, fileAttributeTimeAccessUSec, fileAttributeTimeAccess, fileAttributeTimeModifiedUSec, fileAttributeTimeModified, fileAttributeMountableHalUDI, fileAttributeMountableCanPoll, fileAttributeMountableStartStopType, fileAttributeMountableCanStop, fileAttributeMountableCanDegraded, fileAttributeMountableCanStart, fileAttributeMountableUnixDeviceFile, fileAttributeMountableUnixDevice, fileAttributeMountableCanEject, fileAttributeMountableCanUnmount, fileAttributeMountableCanMount, fileAttributeAccessCanRename, fileAttributeAccessCanTrash, fileAttributeAccessCanDelete, fileAttributeAccessCanExecute, fileAttributeAccessCanWrite, fileAttributeAccessCanRead, fileAttributeIDFilesystem, fileAttributeIDFile, fileAttributeEtagValue, fileAttributeStandardSortOrder, fileAttributeStandardTargetURI, fileAttributeStandardSymlinkTarget, fileAttributeStandardAllocatedSize, fileAttributeStandardSize, fileAttributeStandardFastContentType, fileAttributeStandardContentType, fileAttributeStandardIcon, fileAttributeStandardCopyName, fileAttributeStandardEditName, fileAttributeStandardDisplayName, fileAttributeStandardName, fileAttributeStandardIsVirtual, fileAttributeStandardIsSymlink, fileAttributeStandardIsBackup, fileAttributeStandardIsHidden :: StringSource