Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/syncthing/syncthing
/ Last
Method
Last
lib/protocol/counting.go:39–41 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
37
func
(c *countingReader) Tot() int64 {
return
c.tot.Load() }
38
39
func
(c *countingReader) Last() time.Time {
40
return
time.Unix(0, c.last.Load())
41
}
42
43
type
countingWriter
struct
{
44
io.Writer
Callers
2
pingSender
Method · 0.45
pingReceiver
Method · 0.45
Calls
1
Load
Method · 0.45
Tested by
no test coverage detected