MCPcopy
hub / github.com/git-lfs/git-lfs / Read

Method Read

lfshttp/client.go:591–596  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

589}
590
591func (c *deadlineConn) Read(b []byte) (int, error) {
592 if err := c.Conn.SetDeadline(time.Now().Add(c.Timeout)); err != nil {
593 return 0, err
594 }
595 return c.Conn.Read(b)
596}
597
598func (c *deadlineConn) Write(b []byte) (int, error) {
599 if err := c.Conn.SetDeadline(time.Now().Add(c.Timeout)); err != nil {

Callers 3

TestBodyWithCallbackFunction · 0.45
copyToTempMethod · 0.45
DecodeFromFunction · 0.45

Calls 1

AddMethod · 0.65

Tested by 1

TestBodyWithCallbackFunction · 0.36