Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Dstack-TEE/dstack
/ image_cache_dir
Method
image_cache_dir
kms/src/main_service.rs:192–194 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
190
}
191
192
fn image_cache_dir(&self) -> PathBuf {
193
self.state.config.image.cache_dir.join(
"images"
)
194
}
195
196
fn remove_cache(&self, parent_dir: &Path, sub_dir: &str) -> Result<()> {
197
if sub_dir.is_empty() {
Callers
1
clear_image_cache
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected