Appearance
@keymaster/connect / StorageGetResult
Interface: StorageGetResult
Properties overview
| Property | Type | Required | Description |
|---|---|---|---|
path | string | Yes | 文件路径。 |
content | BinaryField | Yes | 二进制内容。 |
contentType? | string | No | MIME 类型。 |
offset | number | Yes | 实际起始偏移。 |
totalSize | number | Yes | 文件总大小(字节)。 |
eof | boolean | Yes | 是否已读到文件结尾。 |
revision? | string | No | 抽象版本标签。 |
lastModified? | string | No | 最后修改时间。 |
Properties
path
path:
string
文件路径。
content
content:
BinaryField
二进制内容。
contentType?
optionalcontentType?:string
MIME 类型。
offset
offset:
number
实际起始偏移。
totalSize
totalSize:
number
文件总大小(字节)。
eof
eof:
boolean
是否已读到文件结尾。
revision?
optionalrevision?:string
抽象版本标签。
lastModified?
optionallastModified?:string
最后修改时间。