文件操作 - tasks-pending-queue.d.ts
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/simple-git/dist/src/lib/runners/tasks-pending-queue.d.ts
编辑文件内容
import { SimpleGitTask } from '../types'; import { GitError } from '../errors/git-error'; import { OutputLogger } from '../git-logger'; declare type AnySimpleGitTask = SimpleGitTask<any>; declare type TaskInProgress = { name: string; logger: OutputLogger; task: AnySimpleGitTask; }; export declare class TasksPendingQueue { private logLabel; private _queue; constructor(logLabel?: string); private withProgress; private createProgress; push(task: AnySimpleGitTask): TaskInProgress; fatal(err: GitError): void; complete(task: AnySimpleGitTask): void; attempt(task: AnySimpleGitTask): TaskInProgress; static getName(name?: string): string; private static counter; } export {};
修改文件时间
将文件时间修改为当前时间的前一年
删除文件