Rename variable to avoid collision with the path package
Tommi Virtanen committed
Mar 11, 2015 at 12:37 UTC
695b2c491afbd3c2899e304247a36c06b662cef4
1 file changed
+3
-3
repo/fsrepo/fsrepo.go
+3
-3
@@ -417,12 +417,12 @@ func IsInitialized(path string) bool {
417
418
// isInitializedUnsynced reports whether the repo is initialized. Caller must
419
// hold the packageLock.
420
-func isInitializedUnsynced(path string) bool {
421
- if !configIsInitialized(path) {
420
+func isInitializedUnsynced(repoPath string) bool {
421
+ if !configIsInitialized(repoPath) {
422
return false
423
}
424
for _, b := range componentBuilders() {
425
- if !b.IsInitialized(path) {
425
+ if !b.IsInitialized(repoPath) {
426
return false
427
}
428
}