API Differences in FSKit in macOS 15.4

It's more difficult than it used to be to find what changed in Apple SDKs. This page is automatically generated and shows what is new in FSKit in the macOS 15.4 SDK.

Table of Contents

Protocols

UnaryFileSystemExtension
FSManageableResourceMaintenanceOperations
FSVolumePathConfOperations
FSVolumeOperations
FSVolumeXattrOperations
FSVolumeOpenCloseOperations
FSVolumeReadWriteOperations
FSVolumeAccessCheckOperations
FSVolumeRenameOperations
FSVolumePreallocateOperations
FSVolumeItemDeactivation
FSVolumeKernelOffloadedIOOperations
FSFileSystemBase
FSUnaryFileSystemOperations

Typealiases

FSEntityIdentifier
public typealias ID = Swift.String
FSModuleIdentity
public typealias ID = Swift.String
FSVolume
public typealias ID = Swift.String
typedef uint64_t FSDirectoryCookie
typedef uint64_t FSDirectoryVerifier
typedef NSUInteger FSOperationID

Functions & Methods

FSBlockDeviceResource
public func delayedMetadataWrite(from buffer: Swift.UnsafeRawBufferPointer, startingAt offset: _DarwinFoundation2.off_t, length: Swift.Int) throws
FSBlockDeviceResource
public func metadataRead(into buffer: Swift.UnsafeMutableRawBufferPointer, startingAt offset: _DarwinFoundation2.off_t, length: Swift.Int) throws
FSBlockDeviceResource
public func metadataWrite(from buffer: Swift.UnsafeRawBufferPointer, startingAt offset: _DarwinFoundation2.off_t, length: Swift.Int) throws
FSBlockDeviceResource
public func read(into buffer: Swift.UnsafeMutableRawBufferPointer, startingAt offset: _DarwinFoundation2.off_t, length: Swift.Int) async throws -> Swift.Int
FSBlockDeviceResource
public func read(into buffer: Swift.UnsafeMutableRawBufferPointer, startingAt offset: _DarwinFoundation2.off_t, length: Swift.Int, completionHandler: @escaping (Swift.Int, (any Swift.Error)?) -> Swift.Void)
FSBlockDeviceResource
public func read(into buffer: Swift.UnsafeMutableRawBufferPointer, startingAt offset: _DarwinFoundation2.off_t, length: Swift.Int) throws -> Swift.Int
FSBlockDeviceResource
public func write(from buffer: Swift.UnsafeRawBufferPointer, startingAt offset: _DarwinFoundation2.off_t, length: Swift.Int) async throws -> Swift.Int
FSBlockDeviceResource
public func write(from buffer: Swift.UnsafeRawBufferPointer, startingAt offset: _DarwinFoundation2.off_t, length: Swift.Int, completionHandler: @escaping (Swift.Int, (any Swift.Error)?) -> Swift.Void)
FSBlockDeviceResource
public func write(from buffer: Swift.UnsafeRawBufferPointer, startingAt offset: _DarwinFoundation2.off_t, length: Swift.Int) throws -> Swift.Int
FSMutableFileDataBuffer
public func withUnsafeMutableBytes<R, E>(_ body: (Swift.UnsafeMutableRawBufferPointer) throws(E) -> R) throws(E) -> R where E : Swift.Error
extern NSError * _Nonnull fs_errorForPOSIXError(int)
extern NSError * _Nonnull fs_errorForMachError(int errorCode)
extern NSError * _Nonnull fs_errorForCocoaError(int errorCode)

Properties & Constants

FSEntityIdentifier
public var id: Swift.String
FSModuleIdentity
public var id: Swift.String
FSVolume
public var id: Swift.String
UnaryFileSystemExtension
public var configuration: some ExtensionFoundation.AppExtensionConfiguration
extern const FSDirectoryCookie FSDirectoryCookieInitial
extern const FSDirectoryVerifier FSDirectoryVerifierInitial
extern const NSErrorDomain _Nonnull FSKitErrorDomain
extern const FSOperationID FSOperationIDUnspecified

Conformances

FSEntityIdentifier
@unchecked Swift.Sendable
FSEntityIdentifier
Swift.Identifiable
FSModuleIdentity
Swift.Identifiable
FSVolume
Swift.Identifiable

Initializers

FSFileName
convenience public init(cString name: Swift.UnsafeBufferPointer<Swift.CChar>)
FSFileName
convenience public init(bytes name: Swift.UnsafeBufferPointer<Swift.CChar>)

Classes

FSEntityIdentifier
FSContainerIdentifier
FSModuleIdentity
FSResource
FSBlockDeviceResource
FSProbeResult
FSVolumeIdentifier
FSDirectoryEntryPacker
FSVolumeSupportedCapabilities
FSVolume
FSStatFSResult
FSItem
FSItemAttributes
FSItemSetAttributesRequest
FSItemGetAttributesRequest
FSClient
FSExtentPacker
FSMutableFileDataBuffer
FSUnaryFileSystem