Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for LookupGroupId (0.52 sec)

  1. src/archive/tar/stat_unix.go

    			h.Uname = u.Username
    			userMap.Store(h.Uid, h.Uname)
    		}
    		if g, ok := groupMap.Load(h.Gid); ok {
    			h.Gname = g.(string)
    		} else if g, err := user.LookupGroupId(strconv.Itoa(h.Gid)); err == nil {
    			h.Gname = g.Name
    			groupMap.Store(h.Gid, h.Gname)
    		}
    	}
    	h.AccessTime = statAtime(sys)
    	h.ChangeTime = statCtime(sys)
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  2. api/go1.7.txt

    pkg net/url, type URL struct, ForceQuery bool
    pkg os/exec, func CommandContext(context.Context, string, ...string) *Cmd
    pkg os/user, func LookupGroup(string) (*Group, error)
    pkg os/user, func LookupGroupId(string) (*Group, error)
    pkg os/user, method (*User) GroupIds() ([]string, error)
    pkg os/user, method (UnknownGroupError) Error() string
    pkg os/user, method (UnknownGroupIdError) Error() string
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Jun 28 15:08:11 GMT 2016
    - 13.6K bytes
    - Viewed (0)
Back to top