lib/model: Don't fail over case-conflict on tempfile (fixes #6973) (#6975)

This commit is contained in:
Simon Frei
2020-09-09 11:47:14 +02:00
committed by GitHub
parent 44658258d2
commit e3cd9219b8
3 changed files with 36 additions and 2 deletions
+2 -2
View File
@@ -25,11 +25,11 @@ const (
)
type ErrCaseConflict struct {
given, real string
Given, Real string
}
func (e *ErrCaseConflict) Error() string {
return fmt.Sprintf(`given name "%v" differs from name in filesystem "%v"`, e.given, e.real)
return fmt.Sprintf(`given name "%v" differs from name in filesystem "%v"`, e.Given, e.Real)
}
func IsErrCaseConflict(err error) bool {