2022-09-24 13:04:14 +00:00
|
|
|
// Copyright 2022 The Gitea Authors. All rights reserved.
|
2022-11-27 18:20:29 +00:00
|
|
|
// SPDX-License-Identifier: MIT
|
2022-09-24 13:04:14 +00:00
|
|
|
|
|
|
|
//go:build windows
|
|
|
|
|
|
|
|
package util
|
|
|
|
|
|
|
|
import (
|
|
|
|
"os"
|
|
|
|
)
|
|
|
|
|
|
|
|
func ApplyUmask(f string, newMode os.FileMode) error {
|
|
|
|
// do nothing for Windows, because Windows doesn't use umask
|
|
|
|
return nil
|
|
|
|
}
|