[][src]Trait uikit_sys::INSFileManager

pub trait INSFileManager: Sized + Deref {
    unsafe fn mountedVolumeURLsIncludingResourceValuesForKeys_options_(
        self,
        propertyKeys: NSArray,
        options: NSVolumeEnumerationOptions
    ) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn unmountVolumeAtURL_options_completionHandler_(
        self,
        url: NSURL,
        mask: NSFileManagerUnmountOptions,
        completionHandler: _bindgen_ty_id_148229
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn contentsOfDirectoryAtURL_includingPropertiesForKeys_options_error_(
        self,
        url: NSURL,
        keys: NSArray,
        mask: NSDirectoryEnumerationOptions,
        error: *mut NSError
    ) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn URLsForDirectory_inDomains_(
        self,
        directory: NSSearchPathDirectory,
        domainMask: NSSearchPathDomainMask
    ) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn URLForDirectory_inDomain_appropriateForURL_create_error_(
        self,
        directory: NSSearchPathDirectory,
        domain: NSSearchPathDomainMask,
        url: NSURL,
        shouldCreate: BOOL,
        error: *mut NSError
    ) -> NSURL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn getRelationship_ofDirectoryAtURL_toItemAtURL_error_(
        self,
        outRelationship: *mut NSURLRelationship,
        directoryURL: NSURL,
        otherURL: NSURL,
        error: *mut NSError
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn getRelationship_ofDirectory_inDomain_toItemAtURL_error_(
        self,
        outRelationship: *mut NSURLRelationship,
        directory: NSSearchPathDirectory,
        domainMask: NSSearchPathDomainMask,
        url: NSURL,
        error: *mut NSError
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn createDirectoryAtURL_withIntermediateDirectories_attributes_error_(
        self,
        url: NSURL,
        createIntermediates: BOOL,
        attributes: NSDictionary,
        error: *mut NSError
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn createSymbolicLinkAtURL_withDestinationURL_error_(
        self,
        url: NSURL,
        destURL: NSURL,
        error: *mut NSError
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setAttributes_ofItemAtPath_error_(
        self,
        attributes: NSDictionary,
        path: NSString,
        error: *mut NSError
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn createDirectoryAtPath_withIntermediateDirectories_attributes_error_(
        self,
        path: NSString,
        createIntermediates: BOOL,
        attributes: NSDictionary,
        error: *mut NSError
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn contentsOfDirectoryAtPath_error_(
        self,
        path: NSString,
        error: *mut NSError
    ) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn subpathsOfDirectoryAtPath_error_(
        self,
        path: NSString,
        error: *mut NSError
    ) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn attributesOfItemAtPath_error_(
        self,
        path: NSString,
        error: *mut NSError
    ) -> NSDictionary
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn attributesOfFileSystemForPath_error_(
        self,
        path: NSString,
        error: *mut NSError
    ) -> NSDictionary
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn createSymbolicLinkAtPath_withDestinationPath_error_(
        self,
        path: NSString,
        destPath: NSString,
        error: *mut NSError
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn destinationOfSymbolicLinkAtPath_error_(
        self,
        path: NSString,
        error: *mut NSError
    ) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn copyItemAtPath_toPath_error_(
        self,
        srcPath: NSString,
        dstPath: NSString,
        error: *mut NSError
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn moveItemAtPath_toPath_error_(
        self,
        srcPath: NSString,
        dstPath: NSString,
        error: *mut NSError
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn linkItemAtPath_toPath_error_(
        self,
        srcPath: NSString,
        dstPath: NSString,
        error: *mut NSError
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn removeItemAtPath_error_(
        self,
        path: NSString,
        error: *mut NSError
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn copyItemAtURL_toURL_error_(
        self,
        srcURL: NSURL,
        dstURL: NSURL,
        error: *mut NSError
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn moveItemAtURL_toURL_error_(
        self,
        srcURL: NSURL,
        dstURL: NSURL,
        error: *mut NSError
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn linkItemAtURL_toURL_error_(
        self,
        srcURL: NSURL,
        dstURL: NSURL,
        error: *mut NSError
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn removeItemAtURL_error_(
        self,
        URL: NSURL,
        error: *mut NSError
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn trashItemAtURL_resultingItemURL_error_(
        self,
        url: NSURL,
        outResultingURL: *mut NSURL,
        error: *mut NSError
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn fileAttributesAtPath_traverseLink_(
        self,
        path: NSString,
        yorn: BOOL
    ) -> NSDictionary
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn changeFileAttributes_atPath_(
        self,
        attributes: NSDictionary,
        path: NSString
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn directoryContentsAtPath_(self, path: NSString) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn fileSystemAttributesAtPath_(self, path: NSString) -> NSDictionary
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn pathContentOfSymbolicLinkAtPath_(self, path: NSString) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn createSymbolicLinkAtPath_pathContent_(
        self,
        path: NSString,
        otherpath: NSString
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn createDirectoryAtPath_attributes_(
        self,
        path: NSString,
        attributes: NSDictionary
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn changeCurrentDirectoryPath_(self, path: NSString) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn fileExistsAtPath_(self, path: NSString) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn fileExistsAtPath_isDirectory_(
        self,
        path: NSString,
        isDirectory: *mut BOOL
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn isReadableFileAtPath_(self, path: NSString) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn isWritableFileAtPath_(self, path: NSString) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn isExecutableFileAtPath_(self, path: NSString) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn isDeletableFileAtPath_(self, path: NSString) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn contentsEqualAtPath_andPath_(
        self,
        path1: NSString,
        path2: NSString
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn displayNameAtPath_(self, path: NSString) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn componentsToDisplayForPath_(self, path: NSString) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn enumeratorAtPath_(self, path: NSString) -> NSDirectoryEnumerator
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn enumeratorAtURL_includingPropertiesForKeys_options_errorHandler_(
        self,
        url: NSURL,
        keys: NSArray,
        mask: NSDirectoryEnumerationOptions,
        handler: _bindgen_ty_id_148463
    ) -> NSDirectoryEnumerator
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn subpathsAtPath_(self, path: NSString) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn contentsAtPath_(self, path: NSString) -> NSData
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn createFileAtPath_contents_attributes_(
        self,
        path: NSString,
        data: NSData,
        attr: NSDictionary
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn fileSystemRepresentationWithPath_(
        self,
        path: NSString
    ) -> *const c_char
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn stringWithFileSystemRepresentation_length_(
        self,
        str_: *const c_char,
        len: NSUInteger
    ) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn replaceItemAtURL_withItemAtURL_backupItemName_options_resultingItemURL_error_(
        self,
        originalItemURL: NSURL,
        newItemURL: NSURL,
        backupItemName: NSString,
        options: NSFileManagerItemReplacementOptions,
        resultingURL: *mut NSURL,
        error: *mut NSError
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setUbiquitous_itemAtURL_destinationURL_error_(
        self,
        flag: BOOL,
        url: NSURL,
        destinationURL: NSURL,
        error: *mut NSError
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn isUbiquitousItemAtURL_(self, url: NSURL) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn startDownloadingUbiquitousItemAtURL_error_(
        self,
        url: NSURL,
        error: *mut NSError
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn evictUbiquitousItemAtURL_error_(
        self,
        url: NSURL,
        error: *mut NSError
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn URLForUbiquityContainerIdentifier_(
        self,
        containerIdentifier: NSString
    ) -> NSURL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn URLForPublishingUbiquitousItemAtURL_expirationDate_error_(
        self,
        url: NSURL,
        outDate: *mut NSDate,
        error: *mut NSError
    ) -> NSURL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn getFileProviderServicesForItemAtURL_completionHandler_(
        self,
        url: NSURL,
        completionHandler: _bindgen_ty_id_148543
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn containerURLForSecurityApplicationGroupIdentifier_(
        self,
        groupIdentifier: NSString
    ) -> NSURL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn delegate(self) -> *mut u64
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setDelegate_(self, delegate: *mut u64)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn currentDirectoryPath(self) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn ubiquityIdentityToken(self) -> *mut u64
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn defaultManager() -> NSFileManager
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn mountedVolumeURLsIncludingResourceValuesForKeys_options_(
    self,
    propertyKeys: NSArray,
    options: NSVolumeEnumerationOptions
) -> NSArray where
    Self::Target: Message + Sized

unsafe fn unmountVolumeAtURL_options_completionHandler_(
    self,
    url: NSURL,
    mask: NSFileManagerUnmountOptions,
    completionHandler: _bindgen_ty_id_148229
) where
    Self::Target: Message + Sized

unsafe fn contentsOfDirectoryAtURL_includingPropertiesForKeys_options_error_(
    self,
    url: NSURL,
    keys: NSArray,
    mask: NSDirectoryEnumerationOptions,
    error: *mut NSError
) -> NSArray where
    Self::Target: Message + Sized

unsafe fn URLsForDirectory_inDomains_(
    self,
    directory: NSSearchPathDirectory,
    domainMask: NSSearchPathDomainMask
) -> NSArray where
    Self::Target: Message + Sized

unsafe fn URLForDirectory_inDomain_appropriateForURL_create_error_(
    self,
    directory: NSSearchPathDirectory,
    domain: NSSearchPathDomainMask,
    url: NSURL,
    shouldCreate: BOOL,
    error: *mut NSError
) -> NSURL where
    Self::Target: Message + Sized

unsafe fn getRelationship_ofDirectoryAtURL_toItemAtURL_error_(
    self,
    outRelationship: *mut NSURLRelationship,
    directoryURL: NSURL,
    otherURL: NSURL,
    error: *mut NSError
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn getRelationship_ofDirectory_inDomain_toItemAtURL_error_(
    self,
    outRelationship: *mut NSURLRelationship,
    directory: NSSearchPathDirectory,
    domainMask: NSSearchPathDomainMask,
    url: NSURL,
    error: *mut NSError
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn createDirectoryAtURL_withIntermediateDirectories_attributes_error_(
    self,
    url: NSURL,
    createIntermediates: BOOL,
    attributes: NSDictionary,
    error: *mut NSError
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn createSymbolicLinkAtURL_withDestinationURL_error_(
    self,
    url: NSURL,
    destURL: NSURL,
    error: *mut NSError
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn setAttributes_ofItemAtPath_error_(
    self,
    attributes: NSDictionary,
    path: NSString,
    error: *mut NSError
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn createDirectoryAtPath_withIntermediateDirectories_attributes_error_(
    self,
    path: NSString,
    createIntermediates: BOOL,
    attributes: NSDictionary,
    error: *mut NSError
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn contentsOfDirectoryAtPath_error_(
    self,
    path: NSString,
    error: *mut NSError
) -> NSArray where
    Self::Target: Message + Sized

unsafe fn subpathsOfDirectoryAtPath_error_(
    self,
    path: NSString,
    error: *mut NSError
) -> NSArray where
    Self::Target: Message + Sized

unsafe fn attributesOfItemAtPath_error_(
    self,
    path: NSString,
    error: *mut NSError
) -> NSDictionary where
    Self::Target: Message + Sized

unsafe fn attributesOfFileSystemForPath_error_(
    self,
    path: NSString,
    error: *mut NSError
) -> NSDictionary where
    Self::Target: Message + Sized

unsafe fn createSymbolicLinkAtPath_withDestinationPath_error_(
    self,
    path: NSString,
    destPath: NSString,
    error: *mut NSError
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn destinationOfSymbolicLinkAtPath_error_(
    self,
    path: NSString,
    error: *mut NSError
) -> NSString where
    Self::Target: Message + Sized

unsafe fn copyItemAtPath_toPath_error_(
    self,
    srcPath: NSString,
    dstPath: NSString,
    error: *mut NSError
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn moveItemAtPath_toPath_error_(
    self,
    srcPath: NSString,
    dstPath: NSString,
    error: *mut NSError
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn linkItemAtPath_toPath_error_(
    self,
    srcPath: NSString,
    dstPath: NSString,
    error: *mut NSError
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn removeItemAtPath_error_(
    self,
    path: NSString,
    error: *mut NSError
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn copyItemAtURL_toURL_error_(
    self,
    srcURL: NSURL,
    dstURL: NSURL,
    error: *mut NSError
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn moveItemAtURL_toURL_error_(
    self,
    srcURL: NSURL,
    dstURL: NSURL,
    error: *mut NSError
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn linkItemAtURL_toURL_error_(
    self,
    srcURL: NSURL,
    dstURL: NSURL,
    error: *mut NSError
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn removeItemAtURL_error_(self, URL: NSURL, error: *mut NSError) -> BOOL where
    Self::Target: Message + Sized

unsafe fn trashItemAtURL_resultingItemURL_error_(
    self,
    url: NSURL,
    outResultingURL: *mut NSURL,
    error: *mut NSError
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn changeFileAttributes_atPath_(
    self,
    attributes: NSDictionary,
    path: NSString
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn directoryContentsAtPath_(self, path: NSString) -> NSArray where
    Self::Target: Message + Sized

unsafe fn fileSystemAttributesAtPath_(self, path: NSString) -> NSDictionary where
    Self::Target: Message + Sized

unsafe fn pathContentOfSymbolicLinkAtPath_(self, path: NSString) -> NSString where
    Self::Target: Message + Sized

unsafe fn createSymbolicLinkAtPath_pathContent_(
    self,
    path: NSString,
    otherpath: NSString
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn createDirectoryAtPath_attributes_(
    self,
    path: NSString,
    attributes: NSDictionary
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn changeCurrentDirectoryPath_(self, path: NSString) -> BOOL where
    Self::Target: Message + Sized

unsafe fn fileExistsAtPath_(self, path: NSString) -> BOOL where
    Self::Target: Message + Sized

unsafe fn fileExistsAtPath_isDirectory_(
    self,
    path: NSString,
    isDirectory: *mut BOOL
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn isReadableFileAtPath_(self, path: NSString) -> BOOL where
    Self::Target: Message + Sized

unsafe fn isWritableFileAtPath_(self, path: NSString) -> BOOL where
    Self::Target: Message + Sized

unsafe fn isExecutableFileAtPath_(self, path: NSString) -> BOOL where
    Self::Target: Message + Sized

unsafe fn isDeletableFileAtPath_(self, path: NSString) -> BOOL where
    Self::Target: Message + Sized

unsafe fn contentsEqualAtPath_andPath_(
    self,
    path1: NSString,
    path2: NSString
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn displayNameAtPath_(self, path: NSString) -> NSString where
    Self::Target: Message + Sized

unsafe fn componentsToDisplayForPath_(self, path: NSString) -> NSArray where
    Self::Target: Message + Sized

unsafe fn enumeratorAtPath_(self, path: NSString) -> NSDirectoryEnumerator where
    Self::Target: Message + Sized

unsafe fn enumeratorAtURL_includingPropertiesForKeys_options_errorHandler_(
    self,
    url: NSURL,
    keys: NSArray,
    mask: NSDirectoryEnumerationOptions,
    handler: _bindgen_ty_id_148463
) -> NSDirectoryEnumerator where
    Self::Target: Message + Sized

unsafe fn subpathsAtPath_(self, path: NSString) -> NSArray where
    Self::Target: Message + Sized

unsafe fn contentsAtPath_(self, path: NSString) -> NSData where
    Self::Target: Message + Sized

unsafe fn createFileAtPath_contents_attributes_(
    self,
    path: NSString,
    data: NSData,
    attr: NSDictionary
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn fileSystemRepresentationWithPath_(
    self,
    path: NSString
) -> *const c_char where
    Self::Target: Message + Sized

unsafe fn stringWithFileSystemRepresentation_length_(
    self,
    str_: *const c_char,
    len: NSUInteger
) -> NSString where
    Self::Target: Message + Sized

unsafe fn replaceItemAtURL_withItemAtURL_backupItemName_options_resultingItemURL_error_(
    self,
    originalItemURL: NSURL,
    newItemURL: NSURL,
    backupItemName: NSString,
    options: NSFileManagerItemReplacementOptions,
    resultingURL: *mut NSURL,
    error: *mut NSError
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn setUbiquitous_itemAtURL_destinationURL_error_(
    self,
    flag: BOOL,
    url: NSURL,
    destinationURL: NSURL,
    error: *mut NSError
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn isUbiquitousItemAtURL_(self, url: NSURL) -> BOOL where
    Self::Target: Message + Sized

unsafe fn startDownloadingUbiquitousItemAtURL_error_(
    self,
    url: NSURL,
    error: *mut NSError
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn evictUbiquitousItemAtURL_error_(
    self,
    url: NSURL,
    error: *mut NSError
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn URLForUbiquityContainerIdentifier_(
    self,
    containerIdentifier: NSString
) -> NSURL where
    Self::Target: Message + Sized

unsafe fn URLForPublishingUbiquitousItemAtURL_expirationDate_error_(
    self,
    url: NSURL,
    outDate: *mut NSDate,
    error: *mut NSError
) -> NSURL where
    Self::Target: Message + Sized

unsafe fn getFileProviderServicesForItemAtURL_completionHandler_(
    self,
    url: NSURL,
    completionHandler: _bindgen_ty_id_148543
) where
    Self::Target: Message + Sized

unsafe fn containerURLForSecurityApplicationGroupIdentifier_(
    self,
    groupIdentifier: NSString
) -> NSURL where
    Self::Target: Message + Sized

unsafe fn delegate(self) -> *mut u64 where
    Self::Target: Message + Sized

unsafe fn setDelegate_(self, delegate: *mut u64) where
    Self::Target: Message + Sized

unsafe fn currentDirectoryPath(self) -> NSString where
    Self::Target: Message + Sized

unsafe fn ubiquityIdentityToken(self) -> *mut u64 where
    Self::Target: Message + Sized

unsafe fn defaultManager() -> NSFileManager where
    Self::Target: Message + Sized

Loading content...

Implementors

impl INSFileManager for NSFileManager[src]

Loading content...