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

Method SetFileMeta

db/sqlite/sqlitedb/query.sql.go:326–337  ·  view source on GitHub ↗
(ctx context.Context, arg SetFileMetaParams)

Source from the content-addressed store, hash-verified

324}
325
326func (q *Queries) SetFileMeta(ctx context.Context, arg SetFileMetaParams) error {
327 _, err := q.db.ExecContext(ctx, setFileMeta,
328 arg.ID,
329 arg.GraphID,
330 arg.FileID,
331 arg.BlobPath,
332 arg.Checksum,
333 arg.Size,
334 arg.LastModifiedTx,
335 )
336 return err
337}
338
339const setTx = `-- name: SetTx :exec
340UPDATE graphs

Callers

nothing calls this directly

Calls 1

ExecContextMethod · 0.80

Tested by

no test coverage detected