文件操作 - globals.d.ts
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/@netlify/serverless-functions-api/dist/globals.d.ts
编辑文件内容
import type { Context } from './context.js'; declare const env: { delete: (key: string) => void; get: (key: string) => string | undefined; has: (key: string) => boolean; set: (key: string, value: string) => void; toObject: () => Record<string, string>; }; declare global { var Netlify: { context: Context | null; env: typeof env; }; } /** * @deprecated globalThis.Netlify is populated during module initialisation, so this function is no longer needed. */ export declare const getNetlifyGlobal: () => { readonly context: Context | null; env: { delete: (key: string) => void; get: (key: string) => string | undefined; has: (key: string) => boolean; set: (key: string, value: string) => void; toObject: () => Record<string, string>; }; }; export {};
修改文件时间
将文件时间修改为当前时间的前一年
删除文件