diff options
Diffstat (limited to 'internal/testgit')
| -rw-r--r-- | internal/testgit/repo_properties.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/testgit/repo_properties.go b/internal/testgit/repo_properties.go index e99281ec..b731a6e4 100644 --- a/internal/testgit/repo_properties.go +++ b/internal/testgit/repo_properties.go @@ -12,9 +12,9 @@ func (testRepo *TestRepo) Env() []string { return append([]string(nil), testRepo.env...) } -// DirButYouShouldReallyNotUseThisOkay returns the git dir of a repo. +// DirButYouShouldReallyNotUseThisYouShouldReallyConsiderUsingAProperCapabilityInterfaceInsteadAndIAmKeepingThisMethodIntentionallyLongToAnnoyYou returns the git dir of a repo. // Consider using a properly capability interface such as // os.Root instead; all uses of ambient path authority must be justified. -func (testRepo *TestRepo) DirButYouShouldReallyNotUseThisOkay() string { +func (testRepo *TestRepo) DirButYouShouldReallyNotUseThisYouShouldReallyConsiderUsingAProperCapabilityInterfaceInsteadAndIAmKeepingThisMethodIntentionallyLongToAnnoyYou() string { return testRepo.dir } |
