Versions in this module Expand all Collapse all v0 v0.0.1 Nov 28, 2024 Changes in this version + type Addition struct + Address string + Password string + ShareName string + Username string + type SMB struct + func (d *SMB) Config() driver.Config + func (d *SMB) Copy(ctx context.Context, srcObj, dstDir model.Obj) error + func (d *SMB) CopyDir(src string, dst string) error + func (d *SMB) CopyFile(src, dst string) error + func (d *SMB) CreateNestedFile(path string) (*smb2.File, error) + func (d *SMB) Drop(ctx context.Context) error + func (d *SMB) Exists(name string) bool + func (d *SMB) GetAddition() driver.Additional + func (d *SMB) Init(ctx context.Context) error + func (d *SMB) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (*model.Link, error) + func (d *SMB) List(ctx context.Context, dir model.Obj, args model.ListArgs) ([]model.Obj, error) + func (d *SMB) MakeDir(ctx context.Context, parentDir model.Obj, dirName string) error + func (d *SMB) Move(ctx context.Context, srcObj, dstDir model.Obj) error + func (d *SMB) Put(ctx context.Context, dstDir model.Obj, stream model.FileStreamer, ...) error + func (d *SMB) Remove(ctx context.Context, obj model.Obj) error + func (d *SMB) Rename(ctx context.Context, srcObj model.Obj, newName string) error