- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for isRestrictedDir (0.12 sec)
-
cmd/importverifier/importverifier.go
func (i *ImportRestriction) ForbiddenImportsFor(pkg Package) ([]string, error) { if restricted, err := i.isRestrictedDir(pkg.Dir); err != nil { return []string{}, err } else if !restricted { return []string{}, nil } return i.forbiddenImportsFor(pkg), nil } // isRestrictedDir determines if the source directory has // any restrictions placed on it by this configuration. // A path will be restricted if:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:16 UTC 2024 - 8.2K bytes - Viewed (0)