MCPcopy
hub / github.com/scality/cloudserver / getLocationConstraintType

Method getLocationConstraintType

lib/Config.js:2081–2084  ·  view source on GitHub ↗
(locationConstraint)

Source from the content-addressed store, hash-verified

2079 }
2080
2081 getLocationConstraintType(locationConstraint) {
2082 const dataStoreName = this.locationConstraints[locationConstraint];
2083 return dataStoreName && dataStoreName.type;
2084 }
2085
2086 getLocationConstraint(locationConstraintName) {
2087 return this.locationConstraints[locationConstraintName];

Callers 3

objectCopyFunction · 0.80
createAndStoreObjectFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected