- Sort Score
- Result 10 results
- Languages All
Results 11 - 13 of 13 for defaultPath (0.16 sec)
-
src/cmd/vendor/golang.org/x/mod/sumdb/dirhash/hash.go
package dirhash import ( "archive/zip" "crypto/sha256" "encoding/base64" "errors" "fmt" "io" "os" "path/filepath" "sort" "strings" ) // DefaultHash is the default hash function used in new go.sum entries. var DefaultHash Hash = Hash1 // A Hash is a directory hash function. // It accepts a list of files along with a function that opens the content of each file.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 10 18:59:52 UTC 2023 - 4K bytes - Viewed (0) -
platforms/software/signing/src/main/java/org/gradle/plugins/signing/Signature.java
*/ @Override @Internal public Date getDate() { return date != null ? date : defaultDate(); } @Nullable private Date defaultDate() { final File file = getFile(); if (file == null) { return null; } final long modified = file.lastModified();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 12:20:43 UTC 2024 - 16.2K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/fetch.go
// an error and does not write ziphashfile. func hashZip(mod module.Version, zipfile, ziphashfile string) (err error) { hash, err := dirhash.HashZip(zipfile, dirhash.DefaultHash) if err != nil { return err } if err := checkModSum(mod, hash); err != nil { return err } hf, err := lockedfile.Create(ziphashfile) if err != nil { return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 30.3K bytes - Viewed (0)