gitea push

This commit is contained in:
2026-05-09 12:19:29 -06:00
parent 06113c95b8
commit 429461e985
1481 changed files with 74306 additions and 52475 deletions
+6 -6
View File
@@ -25,7 +25,7 @@ interface CommonOutputApi {
interface OutputApi extends AsyncIterable<string>, CommonOutputApi {
process: ChildProcess | undefined;
get aborted(): boolean;
pipe(command: string, args?: string[], options?: Partial<PipeOptions>): Result;
pipe(command: string, args?: readonly string[], options?: Partial<PipeOptions>): Result;
kill(signal?: KillSignal): boolean;
}
interface OutputApiSync extends Iterable<string>, CommonOutputApi {}
@@ -45,25 +45,25 @@ interface SyncOptions extends CommonOptions {
nodeOptions: SpawnSyncOptions;
}
interface TinyExec {
(command: string, args?: string[], options?: Partial<Options>): Result;
(command: string, args?: readonly string[], options?: Partial<Options>): Result;
}
declare class ExecProcess implements Result {
protected _process?: ChildProcess;
protected _aborted: boolean;
protected _options: Partial<Options>;
protected _command: string;
protected _args: string[];
protected _args: readonly string[];
protected _resolveClose?: () => void;
protected _processClosed: Promise<void>;
protected _thrownError?: Error;
get process(): ChildProcess | undefined;
get pid(): number | undefined;
get exitCode(): number | undefined;
constructor(command: string, args?: string[], options?: Partial<Options>);
constructor(command: string, args?: readonly string[], options?: Partial<Options>);
kill(signal?: KillSignal): boolean;
get aborted(): boolean;
get killed(): boolean;
pipe(command: string, args?: string[], options?: Partial<PipeOptions>): Result;
pipe(command: string, args?: readonly string[], options?: Partial<PipeOptions>): Result;
[Symbol.asyncIterator](): AsyncIterator<string>;
protected _waitForOutput(): Promise<Output>;
then<TResult1 = Output, TResult2 = never>(onfulfilled?: ((value: Output) => TResult1 | PromiseLike<TResult1>) | null, onrejected?: ((reason: unknown) => TResult2 | PromiseLike<TResult2>) | null): Promise<TResult1 | TResult2>;
@@ -74,7 +74,7 @@ declare class ExecProcess implements Result {
protected _onError: (err: Error) => void;
protected _onClose: () => void;
}
declare function xSync(command: string, args?: string[], options?: Partial<SyncOptions>): SyncResult;
declare function xSync(command: string, args?: readonly string[], options?: Partial<SyncOptions>): SyncResult;
declare const x: TinyExec;
declare const exec: TinyExec;
declare const execSync: typeof xSync;