- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for FormatRecord (0.12 sec)
-
src/cmd/vendor/golang.org/x/mod/sumdb/tlog/note.go
return Tree{}, errMalformedTree } var hash Hash copy(hash[:], h) return Tree{n, hash}, nil } var errMalformedRecord = errors.New("malformed record data") // FormatRecord formats a record for serving to a client // in a lookup response or data tile. // // The encoded form is the record ID as a single number, // then the text of the record, and then a terminating blank line.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 29 20:10:15 UTC 2019 - 3.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/sumdb/server.go
return } if len(records) != 1 { http.Error(w, "invalid record count returned by ReadRecords", http.StatusInternalServerError) return } msg, err := tlog.FormatRecord(id, records[0]) if err != nil { http.Error(w, err.Error(), http.StatusInternalServerError) return } signed, err := s.ops.Signed(ctx) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jul 12 20:38:21 UTC 2023 - 4.9K bytes - Viewed (0)