Home page: http://www.goredo.cypherpunks.ru/
INSTALL *goredo-install*
+
+Hopefully it should work on all POSIX systems.
>
$ go get go.cypherpunks.ru/goredo
$ goredo -symlinks
$ git clone git://git.cypherpunks.ru/goredo.git
$ cd goredo
- $ git tag -v v0.7.1
+ $ git tag -v v0.8.0
$ git clone git://git.cypherpunks.ru/gorecfile.git
$ ( cd gorecfile ; git tag -v v0.4.0 )
$ echo "replace go.cypherpunks.ru/recfile => `pwd`/gorecfile" >> go.mod
"os"
"path"
"strings"
- "syscall"
"go.cypherpunks.ru/recfile"
"golang.org/x/crypto/blake2b"
+ "golang.org/x/sys/unix"
)
func recfileWrite(fdDep *os.File, fields ...recfile.Field) error {
}
func fileCtime(fd *os.File) (string, error) {
- fi, err := fd.Stat()
- if err != nil {
+ var stat unix.Stat_t
+ if err := unix.Fstat(int(fd.Fd()), &stat); err != nil {
return "", err
}
- stat := fi.Sys().(*syscall.Stat_t)
- sec, nsec := stat.Ctimespec.Unix()
+ sec, nsec := stat.Ctim.Unix()
return fmt.Sprintf("%d.%d", sec, nsec), nil
}
)
const (
- Version = "0.7.1"
+ Version = "0.8.0"
Warranty = `This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, version 3 of the License.