Versions in this module Expand all Collapse all v1 v1.0.0 Jun 22, 2023 Changes in this version + type Driver interface + AllDirectories func(path string) ([]string, error) + AllFiles func(path string) ([]string, error) + Copy func(oldFile, newFile string) error + Delete func(file ...string) error + DeleteDirectory func(directory string) error + Directories func(path string) ([]string, error) + Exists func(file string) bool + Files func(path string) ([]string, error) + Get func(file string) (string, error) + LastModified func(file string) (time.Time, error) + MakeDirectory func(directory string) error + MimeType func(file string) (string, error) + Missing func(file string) bool + Move func(oldFile, newFile string) error + Path func(file string) string + Put func(file, content string) error + PutFile func(path string, source File) (string, error) + PutFileAs func(path string, source File, name string) (string, error) + Size func(file string) (int64, error) + TemporaryUrl func(file string, time time.Time) (string, error) + Url func(file string) string + WithContext func(ctx context.Context) Driver + type File interface + Disk func(disk string) File + Extension func() (string, error) + File func() string + GetClientOriginalExtension func() string + GetClientOriginalName func() string + HashName func(path ...string) string + LastModified func() (time.Time, error) + MimeType func() (string, error) + Size func() (int64, error) + Store func(path string) (string, error) + StoreAs func(path string, name string) (string, error) + type Storage interface + Disk func(disk string) Driver