Documentation for Simbo's Packages
    Preparing search index...

    Interface CloneGitFixtureOptions

    Options for cloning a repository.

    interface CloneGitFixtureOptions {
        args?: readonly string[];
        date?: string | Date;
        debug?: (message: string) => void;
        prefix?: string;
    }

    Hierarchy (View Summary)

    Index
    args?: readonly string[]

    Additional arguments for git clone, such as ['--branch', 'feature']. They are passed before the source.

    date?: string | Date

    The author and committer date of all commits, as Date or in a format that Git accepts, such as ISO 8601. A fixed date makes commit hashes reproducible.

    '2000-01-01T00:00:00Z'
    
    debug?: (message: string) => void

    A callback for debug messages. It receives every Git command of the fixture before it runs.

    prefix?: string

    The prefix of the temporary directory name.

    'git-fixture-'