13 lines
153 B
Go
13 lines
153 B
Go
|
//go:build !windows
|
||
|
|
||
|
package database
|
||
|
|
||
|
import (
|
||
|
"io/fs"
|
||
|
"os"
|
||
|
)
|
||
|
|
||
|
func setFilePerm(path string, mode fs.FileMode) error {
|
||
|
return os.Chmod(path, mode)
|
||
|
}
|