golang/src/mime
Jes Cok b439f32859 all: make use of sync.Map.Clear
Since CL 515015 added sync.Map.Clear method, we can use it to make
the code simpler and clearer.

Change-Id: I29edc969431b4fd95cd5fd864953a71ca1538dd3
Reviewed-on: https://go-review.googlesource.com/c/go/+/582015
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Joedian Reid <joedian@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
2024-04-26 21:32:11 +00:00
..
multipart mime: add available godoc link 2024-03-21 16:12:35 +00:00
quotedprintable mime: add available godoc link 2024-03-21 16:12:35 +00:00
testdata mime: skip globs2 entries that are not simple file extensions 2022-05-13 21:01:01 +00:00
encodedword.go mime: add available godoc link 2024-03-21 16:12:35 +00:00
encodedword_test.go all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
example_test.go all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
grammar.go all: replace strings.Index with strings.Contains where possible 2016-02-19 01:06:05 +00:00
mediatype.go mime: add available godoc link 2024-03-21 16:12:35 +00:00
mediatype_test.go mime: allow duplicate media type parameters with equivalent values 2022-08-26 17:58:37 +00:00
type.go all: make use of sync.Map.Clear 2024-04-26 21:32:11 +00:00
type_dragonfly.go mime: add mime.types paths for BSDs 2015-06-12 15:51:21 +00:00
type_freebsd.go mime: add mime.types paths for BSDs 2015-06-12 15:51:21 +00:00
type_openbsd.go mime: add mime.types paths for BSDs 2015-06-12 15:51:21 +00:00
type_plan9.go mime: fix mime type file name on Plan 9 2016-05-15 19:56:08 +00:00
type_test.go mime: remove test ordering dependency 2022-08-08 21:09:03 +00:00
type_unix.go all: add wasip1 support 2023-04-11 20:56:32 +00:00
type_unix_test.go mime: remove test ordering dependency 2022-08-08 21:09:03 +00:00
type_windows.go mime: ignore .js => text/plain in Windows registry 2022-05-28 20:07:28 +00:00