MCPcopy Create free account
hub / github.com/gogs/gogs / newLFSStore

Function newLFSStore

internal/database/lfs.go:29–31  ·  view source on GitHub ↗
(db *gorm.DB)

Source from the content-addressed store, hash-verified

27}
28
29func newLFSStore(db *gorm.DB) *LFSStore {
30 return &LFSStore{db: db}
31}
32
33// CreateObject creates an LFS object record in database.
34func (s *LFSStore) CreateObject(ctx context.Context, repoID int64, oid lfsutil.OID, size int64, storage lfsutil.Storage) error {

Callers 1

LFSMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected