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
M. J. Fromberger a75360ccd6
util: add truncate package (#7490)
This package handles cases where we need to truncate human-readable text to fit
a length constraint without leaving "ragged" multi-byte rune fragments at the
end of the truncated value.

Change-Id: Id972135d1880485f41b1fedfb65c2b8cc012d416
Signed-off-by: M. J. Fromberger <fromberger@tailscale.com>
2 years ago
..
cibuild
clientmetric
cloudenv
cmpver
codegen
cstruct
deephash all: update to Go 1.20, use strings.CutPrefix/Suffix instead of our fork 2 years ago
dirwalk all: use tstest.Replace more 2 years ago
dnsname
goroutines
groupmember
hashx
httpm
jsonutil
lineread
linuxfw util/linuxfw: add build constraints excluding GOARCH=arm 2 years ago
mak
multierr util/multierr: implement Go 1.20+'s multiple error Unwrap 2 years ago
must
osshare
pidowner
precompress
quarantine
racebuild
ringbuffer util/ringbuffer: move generic ringbuffer from corp repo 2 years ago
set
singleflight
slicesx util/slicesx: add package for generic slice functions, use 2 years ago
systemd
truncate util: add truncate package (#7490) 2 years ago
uniq all: update copyright and license headers 2 years ago
vizerror util/vizerror: add As function to get wrapped Error 2 years ago
winutil