MCPcopy Create free account
hub / github.com/bcspragu/logseq-sync / getAllFilesResponseObject

Struct getAllFilesResponseObject

cmd/server/main.go:668–674  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

666 NextContinuationToken string `json:"NextContinuationToken"`
667}
668type getAllFilesResponseObject struct {
669 Key string `json:"Key"` // `: "<user uuid>/<graph uuid>/e.<35-bytes hex-encoded>",
670 LastModified int64 `json:"LastModified"` // `: <unix ts millis>,
671 Checksum string `json:"checksum"` // `: "<16-bytes hex-encoded>",
672 Size int64 `json:"Size"` // `: <size in bytes>,
673 Txid int64 `json:"Txid"` // `: <tx num>
674}
675
676func (s *server) getAllFiles(ctx context.Context, req *getAllFilesRequest) (*getAllFilesResponse, error) {
677 gID := db.GraphID(req.GraphUUID)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected