You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
177 B

// +build !windows
package setft
import (
"os"
"time"
)
func SetFileTime(path string, atime, ctime, mtime time.Time) (err error) {
return os.Chtimes(path, atime, mtime)
}