文件操作 - s3.d.ts
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/unstorage/drivers/s3.d.ts
编辑文件内容
export interface S3DriverOptions { /** * Access Key ID */ accessKeyId: string; /** * Secret Access Key */ secretAccessKey: string; /** * The endpoint URL of the S3 service. * * - For AWS S3: "https://s3.[region].amazonaws.com/" * - For cloudflare R2: "https://[uid].r2.cloudflarestorage.com/" */ endpoint: string; /** * The region of the S3 bucket. * * - For AWS S3, this is the region of the bucket. * - For cloudflare, this is can be set to `auto`. */ region: string; /** * The name of the bucket. */ bucket: string; /** * Enabled by default to speedup `clear()` operation. Set to `false` if provider is not implementing [DeleteObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObjects.html). */ bulkDelete?: boolean; } declare const _default: (opts: S3DriverOptions) => import("..").Driver<S3DriverOptions, never>; export default _default;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件