turn on source gathering
This commit is contained in:
3
main.go
3
main.go
@ -5,6 +5,7 @@ import (
|
|||||||
"forever-files/db"
|
"forever-files/db"
|
||||||
"forever-files/fileUtilities"
|
"forever-files/fileUtilities"
|
||||||
"forever-files/partitioner"
|
"forever-files/partitioner"
|
||||||
|
"forever-files/source"
|
||||||
"forever-files/types"
|
"forever-files/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -24,7 +25,7 @@ func main() {
|
|||||||
panic(fmt.Errorf("error migrating db: %w", err))
|
panic(fmt.Errorf("error migrating db: %w", err))
|
||||||
}
|
}
|
||||||
|
|
||||||
//source.GatherInfo(baseDir, store)
|
source.GatherInfo(baseDir, store)
|
||||||
oneDVDSize := int64(4600000000)
|
oneDVDSize := int64(4600000000)
|
||||||
partitions, err := partitioner.CalculatePartitions(store, oneDVDSize)
|
partitions, err := partitioner.CalculatePartitions(store, oneDVDSize)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Reference in New Issue
Block a user