Skip to content

@keymaster/connect / StorageGetResult

Interface: StorageGetResult ​

Properties overview ​

PropertyTypeRequiredDescription
pathstringYes文件路径。
contentBinaryFieldYes二进制内容。
contentType?stringNoMIME 类型。
offsetnumberYes实际起始偏移。
totalSizenumberYes文件总大小(字节)。
eofbooleanYes是否已读到文件结尾。
revision?stringNo抽象版本标签。
lastModified?stringNo最后修改时间。

Properties ​

path ​

path: string

文件路径。


content ​

content: BinaryField

二进制内容。


contentType? ​

optional contentType?: string

MIME 类型。


offset ​

offset: number

实际起始偏移。


totalSize ​

totalSize: number

文件总大小(字节)。


eof ​

eof: boolean

是否已读到文件结尾。


revision? ​

optional revision?: string

抽象版本标签。


lastModified? ​

optional lastModified?: string

最后修改时间。

使用能力,不托管私钥。