2022-09-24 08:04:14 -05:00
|
|
|
// Copyright 2022 The Gitea Authors. All rights reserved.
|
2022-11-27 12:20:29 -06:00
|
|
|
// SPDX-License-Identifier: MIT
|
2022-09-24 08:04:14 -05: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
|
|
|
|
}
|