UNPKG

@yuntools/ali-oss

Version:

阿里云 OSS 命令行工具 ossutil 封装,支持 ESM,CJS 导入,提供 TypeScript 类型定义

23 lines 1.03 kB
import { BaseOptions, Config, DataBase, DataKey, ParamMap } from '../types.js'; export interface StatOptions extends BaseOptions { /** cloudurl 路径,不包括 bucket */ target: string; versionId?: string | undefined; payer?: string | undefined; } export declare const initOptions: StatOptions; export interface DataStat extends DataBase { [DataKey.acl]: 'default' | 'public' | 'private'; [DataKey.acceptRanges]: string | undefined; [DataKey.contentLength]: number | undefined; [DataKey.contentMd5]: string | undefined; [DataKey.contentType]: string | undefined; [DataKey.etag]: string | undefined; [DataKey.lastModified]: string | undefined; [DataKey.owner]: string | undefined; [DataKey.xOssHashCrc64ecma]: string | undefined; [DataKey.xOssObjectType]: string | undefined; [DataKey.xOssStorageClass]: string | undefined; } export declare function processInput(input: StatOptions, globalConfig: Config | undefined): Promise<ParamMap>; //# sourceMappingURL=stat.d.ts.map