Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
196047fc
Unverified
Commit
196047fc
authored
Feb 11, 2019
by
Kubernetes Prow Robot
Committed by
GitHub
Feb 11, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #73143 from micahhausler/code-generator-godoc-fix
Fixed import-boss godoc comment formatting
parents
d820b502
010d2100
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
main.go
staging/src/k8s.io/code-generator/cmd/import-boss/main.go
+7
-3
No files found.
staging/src/k8s.io/code-generator/cmd/import-boss/main.go
View file @
196047fc
...
@@ -22,9 +22,13 @@ limitations under the License.
...
@@ -22,9 +22,13 @@ limitations under the License.
//
//
// If an ".import-restrictions" file is found, then all imports of the package
// If an ".import-restrictions" file is found, then all imports of the package
// are checked against each "rule" in the file. A rule consists of three parts:
// are checked against each "rule" in the file. A rule consists of three parts:
// * A SelectorRegexp, to select the import paths that the rule applies to.
//
// * A list of AllowedPrefixes
// - A SelectorRegexp, to select the import paths that the rule applies to.
// * A list of ForbiddenPrefixes
//
// - A list of AllowedPrefixes
//
// - A list of ForbiddenPrefixes
//
// An import is allowed if it matches at least one allowed prefix and does not
// An import is allowed if it matches at least one allowed prefix and does not
// match any forbidden prefix. An example file looks like this:
// match any forbidden prefix. An example file looks like this:
//
//
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment