2022-09-24 22:04:14 +09:00
|
|
|
// Copyright 2022 The Gitea Authors. All rights reserved.
|
2022-11-28 03:20:29 +09:00
|
|
|
// SPDX-License-Identifier: MIT
|
2022-09-24 22:04:14 +09: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
|
|
|
|
}
|