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