Structurenmggithub.kass 3.2.4BSDCore
FSFinderFileInfo
Finder Info about a file.
struct FSFinderFileInfo
Finder Info about a file.
struct FSFinderFileInfo
import BSDCore
The core module for interacting with the BSD kernel.
struct BSD
The BSD kernel.
struct FSFinderDirectoryInfo
Finder Info about a directory.
static var activeCSRConfig: CSRConfigOptions { get throws }
The active configuration for Configurable Security Restrictions (CSR).
static func csrCheck(_ options: CSRConfigOptions) throws
Checks if the system is configured with the specified CSR options.
static func syscall(_ syscall: @autoclosure () -> Int32) throws
Executes a system call and throw an error if it fails.
static func sysctl<DataType>(_ mibName: String, asArrayOf type: DataType.Type = UInt8.self) throws -> [DataType]
Gets kernel state.
static func sysctl<DataType>(_ mibNameArray: consuming [Int32], asArrayOf type: DataType.Type = UInt8.self) throws -> [DataType]
Gets kernel state.
static func sysctl<DataType>(_ mibName: String, setTo value: consuming [DataType]) throws
Sets kernel state.
static func sysctl<DataType>(_ mibNameArray: consuming [Int32], setTo value: consuming [DataType]) throws
Sets kernel state.
struct CSRConfigOptions
Configuration options for Configurable Security Restrictions (CSR).
struct FSAttributeBuffer
A buffer of attributes.
struct FSCommonAttributes
Common attribute.
struct FSCommonExtendedAttributes
Extended common attributes.
struct FSDirectoryAttributes
Directory attributes.
struct FSFileAttributes
File attributes.
struct FSOptions
Options for file system operations.
struct FSParsedAttributes
Parsed attributes from an attribute buffer.
struct FSVolumeAttributes
Volume attributes.
protocol BitwiseCopyable
init(info: FndrFileInfo, extendedInfo: FndrExtendedFileInfo)
Creates a new Finder Info representation about a file.
let extendedInfo: FndrExtendedFileInfo
The extended file info.
let info: FndrFileInfo
The file info.