- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for toValidName (0.1 sec)
-
src/archive/zip/reader.go
} func (f *fileListEntry) Info() (fs.FileInfo, error) { return f, nil } func (f *fileListEntry) String() string { return fs.FormatDirEntry(f) } // toValidName coerces name to be a valid name for fs.FS.Open. func toValidName(name string) string { name = strings.ReplaceAll(name, `\`, `/`) p := path.Clean(name) p = strings.TrimPrefix(p, "/") for strings.HasPrefix(p, "../") {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Sat Aug 03 01:05:29 UTC 2024 - 28.1K bytes - Viewed (0)