build out cli and add size and gather functionality

This commit is contained in:
2024-06-05 00:03:05 -06:00
parent 6507518cd7
commit b3bbd2e5d1
11 changed files with 254 additions and 48 deletions

View File

@ -27,6 +27,7 @@ func main() {
source.GatherInfo(baseDir, store)
oneDVDSize := int64(4600000000)
//oneBRSize := int64(25000000000) // size of a small Blu-ray disc
partitions, err := partitioner.CalculatePartitions(store, oneDVDSize)
if err != nil {
panic(fmt.Errorf("error calculating partitions: %w", err))