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

Method SetFileMeta

cmd/server/main.go:76–76  ·  view source on GitHub ↗
(ctx context.Context, id db.GraphID, md *db.FileMeta)

Source from the content-addressed store, hash-verified

74 GraphEncryptKeys(ctx context.Context, id db.GraphID) ([]*db.GraphEncryptKey, error)
75
76 SetFileMeta(ctx context.Context, id db.GraphID, md *db.FileMeta) error
77
78 // Because the Logseq client can/will request files it hasn't uploaded yet, the
79 // map will contain nil entries for requested files that don't exist

Callers 2

updateFilesMethod · 0.65
SetFileMetaMethod · 0.65

Implementers 2

DBdb/mem/mem.go
DBdb/sqlite/sqlite.go

Calls

no outgoing calls

Tested by

no test coverage detected