13 Commits

Author SHA1 Message Date
sophia
25dfcd039f Update paths to use Path type instead of string 2022-04-25 14:12:28 -05:00
sophia
211da5be23
Remove box count check when trying to recover boxes
The get box + stat operations are not that slow. No need to also
go through listing out all the boxes in the vagrant box dir.
2022-04-25 12:26:49 -05:00
sophia
c23e617fce
Check for metadata.json 2022-04-25 12:26:49 -05:00
sophia
385bcbf81b
Remove box from db if it is no longer available on disk 2022-04-25 12:26:48 -05:00
sophia
82fa38f5e0
Check for consistency between db/boxes dir when creating box collection 2022-04-25 12:26:48 -05:00
sophia
aa9a03b9de
Ensure consistency between box db and dir 2022-04-25 12:26:48 -05:00
sophia
b12393ce2c
Ensure metadataurl is set for box 2022-04-25 12:25:57 -05:00
sophia
559b160eb8
Use go getter to extract box files 2022-04-25 12:25:56 -05:00
sophia
a841ca8552
Ensure box destination path is in box path 2022-04-25 12:25:55 -05:00
sophia
60860386f6
Fix tests 2022-04-25 12:25:55 -05:00
sophia
371895497b
Ensure box collection implements the cor box collection 2022-04-25 12:25:54 -05:00
sophia
e77cb42171
Add tests 2022-04-25 12:25:54 -05:00
sophia
c48afe423d
Implement box collection 2022-04-25 12:25:54 -05:00