github.com/NVIDIA/aistore@v1.3.23-0.20240517131212-7df6609be51d/space/init.go (about) 1 // Package space provides storage cleanup and eviction functionality (the latter based on the 2 // least recently used cache replacement). It also serves as a built-in garbage-collection 3 // mechanism for orphaned workfiles. 4 /* 5 * Copyright (c) 2021-2024, NVIDIA CORPORATION. All rights reserved. 6 */ 7 package space 8 9 import ( 10 "github.com/NVIDIA/aistore/xact/xreg" 11 ) 12 13 func Xreg() { 14 xreg.RegNonBckXact(&lruFactory{}) 15 xreg.RegNonBckXact(&clnFactory{}) 16 }