文件操作 - index.d.cts
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/copy-anything/dist/cjs/index.d.cts
编辑文件内容
type Options = { props?: (string | symbol)[]; nonenumerable?: boolean; }; /** * Copy (clone) an object and all its props recursively to get rid of any prop referenced of the original object. Arrays are also cloned, however objects inside arrays are still linked. * * @param target Target can be anything * @param [options = {}] Options can be `props` or `nonenumerable` * @returns the target with replaced values */ declare function copy<T>(target: T, options?: Options): T; export { Options, copy };
修改文件时间
将文件时间修改为当前时间的前一年
删除文件