Documentation ¶
Index ¶
- type CatalogEntry
- func (cat *CatalogEntry) Analyze(catDir string) error
- func (cat *CatalogEntry) EntryDir(catalogRoot string) string
- func (cat *CatalogEntry) Lock(catDir string) error
- func (cat *CatalogEntry) Name() string
- func (cat *CatalogEntry) Register(Db *sql.DB) error
- func (cat *CatalogEntry) SamplePath(catalogRoot string) string
- func (cat *CatalogEntry) Save(catDir string) error
- func (cat *CatalogEntry) Unlock(catDir string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CatalogEntry ¶
type CatalogEntry struct {
// contains filtered or unexported fields
}
func CreateOrUpdateEntry ¶
func CreateOrUpdateEntry(sub *submissions.Submission, subDir, catDir string) (*CatalogEntry, error)
func (*CatalogEntry) Analyze ¶
func (cat *CatalogEntry) Analyze(catDir string) error
func (*CatalogEntry) EntryDir ¶
func (cat *CatalogEntry) EntryDir(catalogRoot string) string
func (*CatalogEntry) Lock ¶
func (cat *CatalogEntry) Lock(catDir string) error
func (*CatalogEntry) Name ¶
func (cat *CatalogEntry) Name() string
func (*CatalogEntry) Register ¶
func (cat *CatalogEntry) Register(Db *sql.DB) error
Save a catalog entry to the catalog database
func (*CatalogEntry) SamplePath ¶
func (cat *CatalogEntry) SamplePath(catalogRoot string) string
func (*CatalogEntry) Save ¶
func (cat *CatalogEntry) Save(catDir string) error
Save a catalog entry to the catalog directory
func (*CatalogEntry) Unlock ¶
func (cat *CatalogEntry) Unlock(catDir string) error
Click to show internal directories.
Click to hide internal directories.