MCPcopy Index your code
hub / github.com/coder/coder / ReplicaID

Method ReplicaID

cli/config/file.go:35–38  ·  view source on GitHub ↗

ReplicaID is a unique identifier for the Coder server.

()

Source from the content-addressed store, hash-verified

33
34// ReplicaID is a unique identifier for the Coder server.
35func (r Root) ReplicaID() File {
36 r.mustNotEmpty()
37 return File(filepath.Join(string(r), "replica_id"))
38}
39
40func (r Root) URL() File {
41 r.mustNotEmpty()

Callers

nothing calls this directly

Calls 2

mustNotEmptyMethod · 0.95
FileTypeAlias · 0.70

Tested by

no test coverage detected