- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for GlobFS (1.17 sec)
-
src/io/fs/glob.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package fs import ( "path" ) // A GlobFS is a file system with a Glob method. type GlobFS interface { FS // Glob returns the names of all files matching pattern, // providing an implementation of the top-level // Glob function. Glob(pattern string) ([]string, error) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 11 20:25:50 UTC 2023 - 3.1K bytes - Viewed (0) -
src/io/fs/glob_test.go
_, err := Glob(os.DirFS("."), "/*"+strings.Repeat("/", 10001)) if err != path.ErrBadPattern { t.Fatalf("Glob returned err=%v, want %v", err, path.ErrBadPattern) } } type globOnly struct{ GlobFS } func (globOnly) Open(name string) (File, error) { return nil, ErrNotExist } func TestGlobMethod(t *testing.T) { check := func(desc string, names []string, err error) { t.Helper()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:36:52 UTC 2024 - 2.3K bytes - Viewed (0) -
src/testing/fstest/testfs.go
} // checkGlob checks that various glob patterns work if the file system implements GlobFS. func (t *fsTester) checkGlob(dir string, list []fs.DirEntry) { if _, ok := t.fsys.(fs.GlobFS); !ok { return } // Make a complex glob pattern prefix that only matches dir. var glob string if dir != "." { elem := strings.Split(dir, "/")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 16.3K bytes - Viewed (0) -
api/go1.16.txt
pkg io/fs, type FileInfo interface, Size() int64 pkg io/fs, type FileInfo interface, Sys() interface{} pkg io/fs, type FileMode uint32 pkg io/fs, type GlobFS interface { Glob, Open } pkg io/fs, type GlobFS interface, Glob(string) ([]string, error) pkg io/fs, type GlobFS interface, Open(string) (File, error) pkg io/fs, type PathError struct pkg io/fs, type PathError struct, Err error pkg io/fs, type PathError struct, Op string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 02 16:30:41 UTC 2022 - 479.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"File", Type, 16}, {"FileInfo", Type, 16}, {"FileInfoToDirEntry", Func, 17}, {"FileMode", Type, 16}, {"FormatDirEntry", Func, 21}, {"FormatFileInfo", Func, 21}, {"Glob", Func, 16}, {"GlobFS", Type, 16}, {"ModeAppend", Const, 16}, {"ModeCharDevice", Const, 16}, {"ModeDevice", Const, 16}, {"ModeDir", Const, 16}, {"ModeExclusive", Const, 16}, {"ModeIrregular", Const, 16},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)