文件操作 - git-construct-error.d.ts
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/simple-git/dist/src/lib/errors/git-construct-error.d.ts
编辑文件内容
import { GitError } from './git-error'; import { SimpleGitOptions } from '../types'; /** * The `GitConstructError` is thrown when an error occurs in the constructor * of the `simple-git` instance itself. Most commonly as a result of using * a `baseDir` option that points to a folder that either does not exist, * or cannot be read by the user the node script is running as. * * Check the `.message` property for more detail including the properties * passed to the constructor. */ export declare class GitConstructError extends GitError { readonly config: SimpleGitOptions; constructor(config: SimpleGitOptions, message: string); }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件