Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ shouldPersist
Method
shouldPersist
source/base/StarAssets.cpp:648–650 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
646
}
647
648
bool Assets::JsonData::shouldPersist() const {
649
return forcePersist || !json.unique();
650
}
651
652
bool Assets::ImageData::shouldPersist() const {
653
return forcePersist || (!alias && !image.unique());
Callers
2
clearCache
Method · 0.80
cleanup
Method · 0.80
Calls
1
unique
Method · 0.45
Tested by
no test coverage detected