jxa-types
    Preparing search index...

    Interface NSFileManager

    interface NSFileManager {
        js: object;
        attributesOfItemAtPathError(
            path: string | NSString,
            error: RefType<NSError> | null,
        ): NSDictionary<NSString, NSString>;
        contentsOfDirectoryAtPathError(
            path: string | NSString,
            error: RefType<NSError> | null,
        ): NSArray<NSString>;
        fileExistsAtPath(path: string | NSString): boolean;
        getProperty(key: string): any;
        isNil(): boolean;
        setProperty(key: string, value: any): any;
    }

    Hierarchy (View Summary)

    Index

    Properties

    js: object

    Methods

    • Parameters

      • key: string

      Returns any

    • Returns boolean

    • Parameters

      • key: string
      • value: any

      Returns any