文件操作 - handler_context.d.mts
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/@netlify/functions/dist/function/handler_context.d.mts
编辑文件内容
interface HandlerContext { callbackWaitsForEmptyEventLoop: boolean; functionName: string; functionVersion: string; invokedFunctionArn: string; memoryLimitInMB: string; awsRequestId: string; logGroupName: string; logStreamName: string; identity?: { [key: string]: any; }; clientContext?: { [key: string]: any; }; getRemainingTimeInMillis(): number; /** @deprecated Use handler callback or promise result */ done(error?: Error, result?: any): void; /** @deprecated Use handler callback with first argument or reject a promise result */ fail(error: Error | string): void; /** @deprecated Use handler callback with second argument or resolve a promise result */ succeed(messageOrObject: any): void; /** @deprecated Use handler callback or promise result */ succeed(message: string, object: any): void; } export type { HandlerContext };
修改文件时间
将文件时间修改为当前时间的前一年
删除文件