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

Method initFS

drivers/smb/util.go:29–34  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

27}
28
29func (d *SMB) initFS(ctx context.Context) error {
30 _, err, _ := singleflight.AnyGroup.Do(fmt.Sprintf("SMB.initFS:%p", d), func() (any, error) {
31 return nil, d._initFS(ctx)
32 })
33 return err
34}
35func (d *SMB) _initFS(ctx context.Context) error {
36 dialer := &smb2.Dialer{
37 Initiator: &smb2.NTLMInitiator{

Callers 1

checkConnMethod · 0.95

Calls 2

_initFSMethod · 0.95
DoMethod · 0.65

Tested by

no test coverage detected