lib/fs: Improve case conflict error message (fixes #7827) (#7829)

This commit is contained in:
tomasz1986
2021-08-01 22:44:49 +02:00
committed by GitHub
parent 37d0ba1660
commit 5a1f6cb813
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ type ErrCaseConflict struct {
}
func (e *ErrCaseConflict) Error() string {
return fmt.Sprintf(`given name "%v" differs from name in filesystem "%v"`, e.Given, e.Real)
return fmt.Sprintf(`remote "%v" uses different upper or lowercase characters than local "%v"; change the casing on either side to match the other`, e.Given, e.Real)
}
func IsErrCaseConflict(err error) bool {