package
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: Mar 26, 2023
License: AGPL-3.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Chunk struct {
ID string `json:"id"`
Data []byte `json:"data"`
}
Chunk 描述了文件分块
type File struct {
ID string `json:"id"`
Path string `json:"path"`
Size int64 `json:"size"`
Updated int64 `json:"updated"`
Chunks []string `json:"chunks"`
}
File 描述了文件。
type Index struct {
ID string `json:"id"`
Parent string `json:"parent"`
Memo string `json:"memo"`
Created int64 `json:"created"`
Files []string `json:"files"`
Count int `json:"count"`
Size int64 `json:"size"`
}
Index 描述了快照索引。
Source Files
¶
Click to show internal directories.
Click to hide internal directories.