(ctx context.Context)
| 27 | } |
| 28 | |
| 29 | func (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 | } |
| 35 | func (d *SMB) _initFS(ctx context.Context) error { |
| 36 | dialer := &smb2.Dialer{ |
| 37 | Initiator: &smb2.NTLMInitiator{ |