NPM Build Utilities @ 0.1.3
    Preparing search index...

    Interface ArgsInternal

    Optional configuration for FileSystemType.copy method.

    0.1.0-alpha

    interface Args {
        force: boolean;
        glob: Partial<FileSystemType.Glob.Args>;
        recursive: boolean;
        rename: boolean;
        filter?: (src: string, dest: string) => boolean;
        flag?: string;
    }

    Hierarchy

    Index

    Properties

    force: boolean

    Overwrite file at destination if it exists.

    false
    

    Optional argument overrides passed to FileSystemType.glob while matching paths to copy.

    recursive: boolean

    Whether to copy directories recursively.

    rename: boolean

    If a file exists at destination, append a number to the file’s basename so it’s unique.

    false
    
    filter?: (src: string, dest: string) => boolean

    Function to filter copied files/directories.

    Return true to copy the item, false to ignore it.

    When ignoring a directory, all of its contents will be skipped as well.

    flag?: string