MCPcopy Create free account
hub / github.com/barnybug/cli53 / zoneName

Function zoneName

util.go:303–305  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

301var unescaper = strings.NewReplacer(`\057`, "/", `\052`, "*")
302
303func zoneName(s string) string {
304 return unescaper.Replace(strings.TrimRight(s, "."))
305}
306
307var reZoneId = regexp.MustCompile("^(/hostedzone/)?Z[A-Z0-9]{9,}$")
308

Callers 1

lookupZoneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected