You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/util
Joe Tsai 9bf13fc3d1
util/deephash: remove getTypeInfo (#5469)
Add a new lookupTypeHasher function that is just a cached front-end
around the makeTypeHasher function.
We do not need to worry about the recursive type cycle issue that
made getTypeInfo more complicated since makeTypeHasher
is not directly recursive. All calls to itself happen lazily
through a sync.Once upon first use.

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
3 years ago
..
cibuild all: use cibuild.On 4 years ago
clientmetric all: gofmt for Go 1.19 3 years ago
cloudenv all: use syncs.AtomicValue 3 years ago
cmpver util/cmpver: move into OSS from corp repo. 5 years ago
codegen all: convert more code to use net/netip directly 3 years ago
deephash util/deephash: remove getTypeInfo (#5469) 3 years ago
dnsname all: use Go 1.18's strings.Cut 4 years ago
endian all: gofmt with Go 1.17 4 years ago
groupmember util/groupmember: remove redundant code (#4298) 4 years ago
hashx util/hashx: move from sha256x (#5388) 3 years ago
jsonutil all: use any instead of interface{} 4 years ago
lineread util/lineread: add docs to Reader 5 years ago
mak util/mak: move tailssh's mapSet into a new package for reuse elsewhere 4 years ago
multierr all: gofmt for Go 1.19 3 years ago
must util/must: rename Do->Get, add Do 3 years ago
osshare all: gofmt with Go 1.17 4 years ago
pidowner all: gofmt with Go 1.17 4 years ago
precompress cmd/tsconnect,util/precompress: move precompression to its own package 3 years ago
racebuild all: gofmt with Go 1.17 4 years ago
singleflight all: gofmt for Go 1.19 3 years ago
strs util/strs: add new package for string utility funcs 3 years ago
systemd all: gofmt for Go 1.19 3 years ago
uniq all: use any instead of interface{} 4 years ago
winutil util/winutil: consolidate interface specific registry keys 3 years ago