@@ -18,7 +18,7 @@ import (
18
18
"github.com/buildbarn/bb-remote-execution/pkg/cas"
19
19
"github.com/buildbarn/bb-remote-execution/pkg/cleaner"
20
20
re_clock "github.com/buildbarn/bb-remote-execution/pkg/clock"
21
- re_filesystem "github.com/buildbarn/bb-remote-execution/pkg/filesystem"
21
+ "github.com/buildbarn/bb-remote-execution/pkg/filesystem/pool "
22
22
"github.com/buildbarn/bb-remote-execution/pkg/filesystem/virtual"
23
23
virtual_configuration "github.com/buildbarn/bb-remote-execution/pkg/filesystem/virtual/configuration"
24
24
cal_proto "github.com/buildbarn/bb-remote-execution/pkg/proto/completedactionlogger"
@@ -76,7 +76,7 @@ func main() {
76
76
// currently only used by the virtual file system to store
77
77
// output files of build actions. Going forward, this may be
78
78
// used to store core dumps generated by build actions as well.
79
- filePool , err := re_filesystem .NewFilePoolFromConfiguration (configuration .FilePool )
79
+ filePool , err := pool .NewFilePoolFromConfiguration (configuration .FilePool )
80
80
if err != nil {
81
81
return util .StatusWrap (err , "Failed to create file pool" )
82
82
}
@@ -218,7 +218,7 @@ func main() {
218
218
virtualBuildDirectory = virtual .NewInMemoryPrepopulatedDirectory (
219
219
virtual .NewHandleAllocatingFileAllocator (
220
220
virtual .NewPoolBackedFileAllocator (
221
- re_filesystem .EmptyFilePool ,
221
+ pool .EmptyFilePool ,
222
222
util .DefaultErrorLogger ),
223
223
handleAllocator ),
224
224
symlinkFactory ,
@@ -466,7 +466,7 @@ func main() {
466
466
buildClient := builder .NewBuildClient (
467
467
schedulerClient ,
468
468
buildExecutor ,
469
- re_filesystem .NewQuotaEnforcingFilePool (
469
+ pool .NewQuotaEnforcingFilePool (
470
470
filePool ,
471
471
runnerConfiguration .MaximumFilePoolFileCount ,
472
472
runnerConfiguration .MaximumFilePoolSizeBytes ),
0 commit comments