MCPcopy Create free account
hub / github.com/pion/ice / copy

Method copy

candidate_base.go:560–562  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

558}
559
560func (c *candidateBase) copy() (Candidate, error) {
561 return UnmarshalCandidate(c.Marshal())
562}
563
564func removeZoneIDFromAddress(addr string) string {
565 if before, _, ok := strings.Cut(addr, "%"); ok {

Callers

nothing calls this directly

Calls 2

MarshalMethod · 0.95
UnmarshalCandidateFunction · 0.85

Tested by

no test coverage detected