Documentation ¶
Index ¶
- func EnsureParentDirectories(db *gorm.DB, item *model.Item, rootDirID uint64, ...) error
- func ExtractFromFsObject(ctx context.Context, info fs.ObjectInfo) (size int64, hashValue string, lastModified time.Time, ...)
- func MaxSizeToSplitSize(m int64) int64
- func PushItem(ctx context.Context, db *gorm.DB, obj fs.ObjectInfo, source model.Source, ...) (*model.Item, []model.ItemPart, error)
- type DatasetWorker
- type DatasetWorkerConfig
- type DatasetWorkerThread
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureParentDirectories ¶ added in v0.2.17
func ExtractFromFsObject ¶ added in v0.2.17
func MaxSizeToSplitSize ¶ added in v0.2.17
Types ¶
type DatasetWorker ¶
type DatasetWorker struct {
// contains filtered or unexported fields
}
func NewDatasetWorker ¶
func NewDatasetWorker(db *gorm.DB, config DatasetWorkerConfig) *DatasetWorker
type DatasetWorkerConfig ¶
type DatasetWorkerThread ¶
type DatasetWorkerThread struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.