- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ValidPath (0.17 sec)
-
src/archive/zip/reader.go
// using the semantics of fs.FS.Open: // paths are always slash separated, with no // leading / or ../ elements. func (r *Reader) Open(name string) (fs.File, error) { r.initFileList() if !fs.ValidPath(name) { return nil, &fs.PathError{Op: "open", Path: name, Err: fs.ErrInvalid} } e := r.openLookup(name) if e == nil { return nil, &fs.PathError{Op: "open", Path: name, Err: fs.ErrNotExist} }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 27.7K bytes - Viewed (0) -
api/go1.16.txt
pkg io/fs, func ReadDir(FS, string) ([]DirEntry, error) pkg io/fs, func ReadFile(FS, string) ([]uint8, error) pkg io/fs, func Stat(FS, string) (FileInfo, error) pkg io/fs, func Sub(FS, string) (FS, error) pkg io/fs, func ValidPath(string) bool pkg io/fs, func WalkDir(FS, string, WalkDirFunc) error pkg io/fs, method (*PathError) Error() string pkg io/fs, method (*PathError) Timeout() bool pkg io/fs, method (*PathError) Unwrap() error
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Dec 02 16:30:41 GMT 2022 - 479.2K bytes - Viewed (0)