- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 54 for chtimes (0.11 sec)
-
src/os/file_plan9.go
} return nil } // Chtimes changes the access and modification times of the named // file, similar to the Unix utime() or utimes() functions. // A zero time.Time value will leave the corresponding file time unchanged. // // The underlying filesystem may truncate or round the values to a // less precise time unit. // If there is an error, it will be of type *PathError.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 30 15:35:30 UTC 2024 - 16K bytes - Viewed (0) -
src/os/os_test.go
func TestChtimesToUnixZero(t *testing.T) { file := newFile("chtimes-to-unix-zero", t) fn := file.Name() defer Remove(fn) if _, err := file.Write([]byte("hi")); err != nil { t.Fatal(err) } if err := file.Close(); err != nil { t.Fatal(err) } unixZero := time.Unix(0, 0) if err := Chtimes(fn, unixZero, unixZero); err != nil { t.Fatalf("Chtimes failed: %v", err) } st, err := Stat(fn)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 83.1K bytes - Viewed (0) -
src/cmd/link/internal/ld/lib.go
// incorporate object file times into the final output file's build // ID. See issue 64947 for the unpleasant details. func cleanTimeStamps(files []string) { epocht := time.Unix(0, 0) for _, f := range files { if err := os.Chtimes(f, epocht, epocht); err != nil { Exitf("cannot chtimes %s: %v", f, err) } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 18:45:27 UTC 2024 - 88.6K bytes - Viewed (0) -
src/cmd/go/internal/work/exec.go
// We want to hide that awful detail as much as possible, so don't // advertise it by touching the mtimes (usually the libraries are up // to date). if !a.buggyInstall && !b.IsCmdList { if cfg.BuildN { sh.ShowCmd("", "touch %s", a.Target) } else if err := AllowInstall(a); err == nil { now := time.Now() os.Chtimes(a.Target, now, now) } } return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 14:46:37 UTC 2024 - 105.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go
Jitcnt int64 Calcnt int64 Errcnt int64 Stbcnt int64 Tai int32 _ [44]byte } type Time_t int64 type Tms struct { Utime int64 Stime int64 Cutime int64 Cstime int64 } type Utimbuf struct { Actime int64 Modtime int64 } type Rusage struct { Utime Timeval Stime Timeval Maxrss int64 Ixrss int64 Idrss int64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 12.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go
Jitcnt int32 Calcnt int32 Errcnt int32 Stbcnt int32 Tai int32 _ [44]byte } type Time_t int32 type Tms struct { Utime int32 Stime int32 Cutime int32 Cstime int32 } type Utimbuf struct { Actime int32 Modtime int32 } type Rusage struct { Utime Timeval Stime Timeval Maxrss int32 Ixrss int32 Idrss int32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 12.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go
Jitcnt int64 Calcnt int64 Errcnt int64 Stbcnt int64 Tai int32 _ [44]byte } type Time_t int64 type Tms struct { Utime int64 Stime int64 Cutime int64 Cstime int64 } type Utimbuf struct { Actime int64 Modtime int64 } type Rusage struct { Utime Timeval Stime Timeval Maxrss int64 Ixrss int64 Idrss int64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 12.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_ppc.go
Jitcnt int32 Calcnt int32 Errcnt int32 Stbcnt int32 Tai int32 _ [44]byte } type Time_t int32 type Tms struct { Utime int32 Stime int32 Cutime int32 Cstime int32 } type Utimbuf struct { Actime int32 Modtime int32 } type Rusage struct { Utime Timeval Stime Timeval Maxrss int32 Ixrss int32 Idrss int32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 12.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go
Jitcnt int64 Calcnt int64 Errcnt int64 Stbcnt int64 Tai int32 _ [44]byte } type Time_t int64 type Tms struct { Utime int64 Stime int64 Cutime int64 Cstime int64 } type Utimbuf struct { Actime int64 Modtime int64 } type Rusage struct { Utime Timeval Stime Timeval Maxrss int64 Ixrss int64 Idrss int64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 12.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go
Jitcnt int64 Calcnt int64 Errcnt int64 Stbcnt int64 Tai int32 _ [44]byte } type Time_t int64 type Tms struct { Utime int64 Stime int64 Cutime int64 Cstime int64 } type Utimbuf struct { Actime int64 Modtime int64 } type Rusage struct { Utime Timeval Stime Timeval Maxrss int64 Ixrss int64 Idrss int64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 13.3K bytes - Viewed (0)