Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PDAL/PDAL
/ replaceOrPut
Method
replaceOrPut
pdal/ArtifactManager.hpp:73–78 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
71
72
template<typename T>
73
bool replaceOrPut(const std::string& name, std::shared_ptr<T> art)
74
{
75
if (!replace(name, art))
76
return put(name, art);
77
return true;
78
}
79
80
bool erase(const std::string& name)
81
{
Callers
1
TEST
Function · 0.80
Calls
2
replace
Function · 0.70
put
Function · 0.50
Tested by
1
TEST
Function · 0.64