MCPcopy
hub / github.com/perkeep/perkeep / MapGid

Method MapGid

pkg/schema/schema.go:501–501  ·  view source on GitHub ↗

MapGid returns the most appropriate mapping from this file's group to the local machine's group, trying first a match by name, followed by just mapping the number through directly.

()

Source from the content-addressed store, hash-verified

499// to the local machine's group, trying first a match by name,
500// followed by just mapping the number through directly.
501func (b *Blob) MapGid() int { return b.ss.MapGid() }
502
503func (ss *superset) MapUid() int {
504 if ss.UnixOwner != "" {

Callers 1

populateAttrMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected