MCPcopy Create free account
hub / github.com/OpenListTeam/OpenList / getLastConnTime

Method getLastConnTime

drivers/smb/util.go:25–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23}
24
25func (d *SMB) getLastConnTime() time.Time {
26 return time.Unix(d.lastConnTime.Load(), 0)
27}
28
29func (d *SMB) initFS(ctx context.Context) error {
30 _, err, _ := singleflight.AnyGroup.Do(fmt.Sprintf("SMB.initFS:%p", d), func() (any, error) {

Callers 1

checkConnMethod · 0.95

Calls 1

LoadMethod · 0.45

Tested by

no test coverage detected