Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'internal/safe/file_writer.go')
-rw-r--r--internal/safe/file_writer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/safe/file_writer.go b/internal/safe/file_writer.go
index 76ab0bcc2..bf18a440f 100644
--- a/internal/safe/file_writer.go
+++ b/internal/safe/file_writer.go
@@ -65,7 +65,7 @@ func (fw *FileWriter) Write(p []byte) (n int, err error) {
// Commit will close the temporary file and rename it to the target file name
// the first call to Commit() will close and delete the temporary file, so
-// subsequently calls to Commit() are gauaranteed to return an error.
+// subsequently calls to Commit() are guaranteed to return an error.
func (fw *FileWriter) Commit() error {
err := ErrAlreadyDone