cmd-sync-servers - v1.0.0
    Preparing search index...

    Interface Cloak

    Decides whether a site-relative path is cloaked. Folders are passed with isDir so name/ patterns apply.

    interface Cloak {
        enabled: boolean;
        isCloaked(path: string, isDir: boolean): boolean;
    }
    Index
    enabled: boolean

    False when the site turned cloaking off; nothing is then cloaked.

    • True when every operation should skip path.

      Parameters

      • path: string
      • isDir: boolean

      Returns boolean