mirror of https://github.com/openclaw/openclaw.git
23 lines
593 B
TypeScript
23 lines
593 B
TypeScript
export function resolveGitHead(params?: {
|
|
cwd?: string;
|
|
spawnSync?: (
|
|
cmd: string,
|
|
args: string[],
|
|
options: unknown,
|
|
) => { status: number | null; stdout?: string | null };
|
|
}): string | null;
|
|
|
|
export function writeBuildStamp(params?: {
|
|
cwd?: string;
|
|
fs?: {
|
|
mkdirSync(path: string, options?: { recursive?: boolean }): void;
|
|
writeFileSync(path: string, data: string, encoding?: string): void;
|
|
};
|
|
now?: () => number;
|
|
spawnSync?: (
|
|
cmd: string,
|
|
args: string[],
|
|
options: unknown,
|
|
) => { status: number | null; stdout?: string | null };
|
|
}): string;
|