From 2bcd212531bf7f57812dff46bf72e09a2d96d3cb Mon Sep 17 00:00:00 2001 From: Pieter Noordhuis Date: Tue, 19 Nov 2024 16:54:11 +0100 Subject: [PATCH] Maintain mask invariant --- libs/filer/filer.go | 2 +- libs/filer/filer_test.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/filer/filer.go b/libs/filer/filer.go index a748e1fd..4d6facbe 100644 --- a/libs/filer/filer.go +++ b/libs/filer/filer.go @@ -18,7 +18,7 @@ type WriteMode int const writeModePerm = WriteMode(fs.ModePerm) const ( - OverwriteIfExists WriteMode = writeModePerm + 1<