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

    Interface GitFixtureOptions

    Options for every fixture.

    interface GitFixtureOptions {
        date?: string | Date;
        debug?: (message: string) => void;
        prefix?: string;
    }

    Hierarchy (View Summary)

    Index
    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-'