gatelineAPI reference
interface SeedOptions {
    log?: (line: string) => void;
    maxPlainCopyBytes?: number;
    run?: (file: string, args: string[]) => Promise<void>;
}

Properties

log?: (line: string) => void

Where the seed narrates itself — the engine's dispatch log.

maxPlainCopyBytes?: number

Override DEFAULT_MAX_PLAIN_COPY_BYTES; 0 refuses every plain copy.

run?: (file: string, args: string[]) => Promise<void>

How a command is run. Injected only by tests, to simulate a host whose cp does not take the clone flag.