MCPcopy Create free account
hub / github.com/cogentcore/core / CheckUpdates

Method CheckUpdates

tensor/cmd/ttail/file.go:133–142  ·  view source on GitHub ↗

CheckUpdates check for any updated files, re-read if so -- returns true if so

()

Source from the content-addressed store, hash-verified

131
132// CheckUpdates check for any updated files, re-read if so -- returns true if so
133func (fl *Files) CheckUpdates() bool {
134 got := false
135 for _, f := range *fl {
136 if f.CheckUpdate() {
137 f.Read()
138 got = true
139 }
140 }
141 return got
142}

Callers 1

TailCheckMethod · 0.80

Calls 2

CheckUpdateMethod · 0.80
ReadMethod · 0.65

Tested by

no test coverage detected