文件操作 - route-rules.d.ts
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/nitropack/dist/runtime/internal/route-rules.d.ts
编辑文件内容
import { type H3Event } from "h3"; import type { NitroRouteRules } from "nitropack/types"; export declare function createRouteRulesHandler(ctx: { localFetch: typeof globalThis.fetch; }): import("h3").EventHandler<import("h3").EventHandlerRequest, Promise<any> | undefined>; export declare function getRouteRules(event: H3Event): NitroRouteRules; type DeepReadonly<T> = T extends Record<string, any> ? { readonly [K in keyof T]: DeepReadonly<T[K]>; } : T extends Array<infer U> ? ReadonlyArray<DeepReadonly<U>> : T; /** * @param path - The path to match against route rules. This should not contain a query string. */ export declare function getRouteRulesForPath(path: string): DeepReadonly<NitroRouteRules>; export {};
修改文件时间
将文件时间修改为当前时间的前一年
删除文件