diff options
| author | 2026-03-22 14:00:14 +0000 | |
|---|---|---|
| committer | 2026-03-22 14:00:14 +0000 | |
| commit | 82bc1cd67431d11690217813192ccc1510ce378b (patch) | |
| tree | f56c12c3a61b9e812a8acbc78d5431f2b914cb1a /internal | |
| parent | README: Simplify; go-git link (diff) | |
| signature | No signature | |
internal/testgit: why not make it more annoying to use ambient authority
Diffstat (limited to 'internal')
| -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 } |
