- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for MatchDirs (0.11 sec)
-
src/cmd/go/internal/search/search.go
m.AddError(err) } } } // MatchDirs sets m.Dirs to a non-nil slice containing all directories that // potentially match a local pattern. The pattern must begin with an absolute // path, or "./", or "../". On Windows, the pattern may use slash or backslash // separators or a mix of both. // // If any errors may have caused the set of directories to be incomplete, // MatchDirs appends those errors to m.Errs.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 31 20:33:05 UTC 2023 - 15.4K bytes - Viewed (0) -
src/cmd/go/internal/modload/load.go
if err := commitRequirements(ctx, WriteOpts{}); err != nil { base.Fatal(err) } } return matches, loadedPackages } // matchLocalDirs is like m.MatchDirs, but tries to avoid scanning directories // outside of the standard library and active modules. func matchLocalDirs(ctx context.Context, modRoots []string, m *search.Match, rs *Requirements) { if !m.IsLocal() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 84K bytes - Viewed (0)