Expand description
§Bindings to the FSKit framework
See Apple’s docs and the general docs on framework crates for more information.
Structs§
- FSAccess
Mask FSVolume - A bitmask of access rights.
- FSBlock
Device Resource FSResource - A resource that represents a block storage disk partition.
- FSBlockmap
Flags FSVolumeExtent - Flags that describe the behavior of a blockmap operation.
- FSClient
FSClient - An interface for apps and daemons to interact with FSKit.
- FSCompleteIO
Flags FSVolumeExtent - Flags that describe the behavior of an I/O completion operation.
- FSContainer
Identifier FSContainerandFSEntityIdentifier - A type that identifies a container.
- FSContainer
State FSContainer - An enumeration of container state values.
- FSContainer
Status FSContainer - A type that represents a container’s status.
- FSDeactivate
Options FSVolume - Options that affect the behavior of deactivate methods.
- FSDirectory
Entry Packer FSVolume - An object used to provide items during a directory enumeration.
- FSEntity
Identifier FSEntityIdentifier - A base type that identifies containers and volumes.
- FSError
Code FSKitError - A code that indicates a specific FSKit error.
- FSExtent
Packer FSVolumeExtent - A type that directs the kernel to map space on disk to a specific file managed by this file system.
- FSExtent
Type FSVolumeExtent - An enumeration of types of extents.
- FSFile
Name FSFileName - The name of a file, expressed as a data buffer.
- FSFile
System FSFileSystem - An abstract base class for implementing a full-featured file system.
- FSGenericURL
Resource FSResource - A resource representing an abstract URL
- FSItem
FSItem - A distinct object in a file hierarchy, such as a file, directory, symlink, socket, and more.
- FSItem
Attribute FSItem - A value that indicates a set of item attributes to get or set.
- FSItem
Attributes FSItem - Attributes of an item, such as size, creation and modification times, and user and group identifiers.
- FSItem
Deactivation Options FSVolume - Options to specify the item deactivation policy.
- FSItem
GetAttributes Request FSItem - A request to get attributes from an item.
- FSItemID
FSItem - Apple’s documentation
- FSItem
SetAttributes Request FSItem - A request to set attributes on an item.
- FSItem
Type FSItem - An enumeration of item types, such as file, directory, or symbolic link.
- FSMatch
Result FSResource - A type that represents the recognition and usability of a probed resource.
- FSMetadata
Range FSResource - A range that describes contiguous metadata segments on disk.
- FSModule
Identity FSModuleIdentity - An installed file system module.
- FSMutable
File Data Buffer FSMutableFileDataBuffer - A wrapper object for a data buffer.
- FSPathURL
Resource FSResource - A resource representing a path
- FSPreallocate
Flags FSVolume - Behavior flags for preallocation operations.
- FSProbe
Result FSResource - An object that represents the results of a specific probe.
- FSResource
FSResource - An abstract resource a file system uses to provide data for a volume.
- FSSet
Xattr Policy FSVolume - Flags to specify the policy when setting extended file attributes.
- FSStatFS
Result FSVolume - A type used to report a volume’s statistics.
- FSSync
Flags FSVolume - Behavior flags for use with synchronization calls.
- FSTask
FSTask - A class that enables a file system module to pass log messages and completion notifications to clients.
- FSTask
Options FSTaskOptions - A class that passes command options to a task, optionally providing security-scoped URLs.
- FSUnary
File System FSUnaryFileSystem - An abstract base class for implementing a minimal file system.
- FSVolume
FSVolume - A directory structure for files and folders.
- FSVolume
Case Format FSVolume - An enumeration of case-sensitivity support types.
- FSVolume
Identifier FSEntityIdentifierandFSVolume - A type that identifies a volume.
- FSVolume
Open Modes FSVolume - Defined modes for opening a file.
- FSVolume
Supported Capabilities FSVolume - A type that represents capabillities supported by a volume, such as hard and symbolic links, journaling, and large file sizes.
Statics§
- FSDirectory
Cookie ⚠Initial FSVolume - The constant initial value for the directory-enumeration cookie.
- FSDirectory
Verifier ⚠Initial FSVolume - The constant initial value for the directory-enumeration verifier.
- FSKit
Error ⚠Domain FSKitError - An error domain for FSKit errors.
- FSKit
Version ⚠Number - Project version number for FSKit.
- FSKit
Version ⚠String - Project version string for FSKit.
- FSOperationID
Unspecified ⚠FSVolumeExtent - Apple’s documentation
Traits§
- FSFile
System Base FSFileSystemBase - A protocol containing functionality supplied by FSKit to file system implementations.
- FSManageable
Resource Maintenance Operations FSResource - Maintenance operations for a file system’s resources.
- FSUnary
File System Operations FSUnaryFileSystem - Operations performed by a unary file system.
- FSVolume
Access Check Operations FSVolume - Methods and properties implemented by volumes that want to enforce access check operations.
- FSVolume
Item Deactivation FSVolume - Methods and properties implemented by volumes that support deactivating items.
- FSVolume
Kernel OffloadedIO Operations FSVolumeExtent - Methods and properties implemented by volumes that use kernel-offloaded I/O to achieve higher file transfer performance.
- FSVolume
Open Close Operations FSVolume - Methods and properties implemented by volumes that want to receive open and close calls for each item.
- FSVolume
Operations FSVolume - Methods that all volumes implement to provide required capabilities.
- FSVolume
Path Conf Operations FSVolume - Properties implemented by volumes that support providing the values of system limits or options.
- FSVolume
Preallocate Operations FSVolume - Methods and properties implemented by volumes that want to offer preallocation functions.
- FSVolume
Read Write Operations FSVolume - Methods implemented for read and write operations that deliver data to and from the extension.
- FSVolume
Rename Operations FSVolume - Methods and properties implemented by volumes that support renaming the volume.
- FSVolume
Xattr Operations FSVolume - Methods and properties implemented by volumes that natively or partially support extended attributes.
Functions§
- fs_
error ⚠ForCocoa Error FSKitFunctions - Creates an error object for the given Cocoa error code.
- fs_
error ⚠ForMach Error FSKitFunctions - Creates an error object for the given Mach error code.
- fs_
error ⚠ForPOSIX Error FSKitFunctions - Creates an error object for the given POSIX error code.
Type Aliases§
- FSDirectory
Cookie FSVolume - A value that indicates a location in a directory from which to enumerate.
- FSDirectory
Verifier FSVolume - A tool to detect whether the directory contents changed since the last call to enumerate a directory.
- FSOperationID
FSVolumeExtent - A unique identifier for an operation.