9bee3b63b1
This commit adds path helpers for working with Names in URL and file paths. The new helpers are ParseNameFromPath, ParseNameFromFilePath, Name.Path, and Name.FilePath. This commit also adds Name.DisplayLongest, and Name.DisplayLong. Also, be it updates a place where strings.StripPrefix is more consistent with the surrounding code. Also, replace Parts with specific methods |
||
---|---|---|
.. | ||
testdata/fuzz/FuzzParseRef | ||
digest.go | ||
digest_test.go | ||
name.go | ||
name_test.go |