mirror of
https://github.com/samuelncui/yatm.git
synced 2026-11-08 12:26:33 +00:00
Unify file queries and Scan execution, retain indexed Identical results, improve Job and Preview workflows, and verify release packaging.
21 lines
445 B
Go
21 lines
445 B
Go
package fileops
|
|
|
|
import "github.com/samuelncui/yatm/entity"
|
|
|
|
const batchSize = 128
|
|
|
|
type config struct {
|
|
Spec *locationSpec
|
|
OperationID string
|
|
LocationID int64
|
|
RootPath string
|
|
}
|
|
|
|
// locationSpec contains only references admitted to one physical execution boundary.
|
|
type locationSpec struct {
|
|
Kind entity.FileOperationKind
|
|
Sources []*entity.LocationEntryRef
|
|
Destination *entity.LocationEntryRef
|
|
Name string
|
|
}
|