Initial euclide.org release

This commit is contained in:
2023-11-17 06:55:06 +01:00
commit 97379c8e8a
210 changed files with 32403 additions and 0 deletions

36
vendor/gopkg.in/djherbis/times.v1/times_windows.go generated vendored Normal file
View File

@@ -0,0 +1,36 @@
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// http://golang.org/src/os/stat_windows.go
package times
import (
"os"
"syscall"
"time"
)
// HasChangeTime and HasBirthTime are true if and only if
// the target OS supports them.
const (
HasChangeTime = false
HasBirthTime = true
)
type timespec struct {
atime
mtime
noctime
btime
}
func getTimespec(fi os.FileInfo) Timespec {
var t timespec
stat := fi.Sys().(*syscall.Win32FileAttributeData)
t.atime.v = time.Unix(0, stat.LastAccessTime.Nanoseconds())
t.mtime.v = time.Unix(0, stat.LastWriteTime.Nanoseconds())
t.btime.v = time.Unix(0, stat.CreationTime.Nanoseconds())
return t
}