文件操作 - clone.d.ts
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/simple-git/dist/src/lib/tasks/clone.d.ts
编辑文件内容
import { EmptyTask } from './task'; import { OptionFlags, Options, StringTask } from '../types'; export declare type CloneOptions = Options & OptionFlags<'--bare' | '--dissociate' | '--mirror' | '--no-checkout' | '--no-remote-submodules' | '--no-shallow-submodules' | '--no-single-branch' | '--no-tags' | '--remote-submodules' | '--single-branch' | '--shallow-submodules' | '--verbose'> & OptionFlags<'--depth' | '-j' | '--jobs', number> & OptionFlags<'--branch' | '--origin' | '--recurse-submodules' | '--separate-git-dir' | '--shallow-exclude' | '--shallow-since' | '--template', string>; export declare function cloneTask(repo: string | undefined, directory: string | undefined, customArgs: string[]): StringTask<string> | EmptyTask; export declare function cloneMirrorTask(repo: string | undefined, directory: string | undefined, customArgs: string[]): EmptyTask | StringTask<string>;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件