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

    Function cloakPatternToGitignore

    • Turns a cloaking pattern as Dreamweaver users write it into gitignore syntax: a token that starts with a dot and has no * or / is a suffix (.psd cloaks every name ending in .psd); everything else already is gitignore syntax (archive*, node_modules/, /drafts/, !keep.psd).

      Parameters

      • pattern: string

      Returns string