package
6.26.0
Repository: https://github.com/c2fo/vfs.git
Documentation: pkg.go.dev

# Functions

NewFile creates a new instance of File.
NewFileSystem creates a new instance of FileSystem.
NewLocation creates a new instance of Location.
NewMockFromFilepath creates a new ReadWriteFile instance that can read a file from the provided path.
NewOptions creates a new instance of Options.
NewRetry creates a new instance of Retry.
NewStringFile creates a new ReadWriteFile instance that can be read from the provided string as its contents.

# Structs

File is an autogenerated mock type for the File type.
File_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'.
File_CopyToFile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CopyToFile'.
File_CopyToLocation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CopyToLocation'.
File_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'.
File_Exists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exists'.
No description provided by the author
File_LastModified_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LastModified'.
File_Location_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Location'.
File_MoveToFile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MoveToFile'.
File_MoveToLocation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MoveToLocation'.
File_Name_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Name'.
File_Path_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Path'.
File_Read_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Read'.
File_Seek_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Seek'.
File_Size_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Size'.
File_String_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'String'.
File_Touch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Touch'.
File_URI_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'URI'.
File_Write_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Write'.
FileSystem is an autogenerated mock type for the FileSystem type.
No description provided by the author
FileSystem_Name_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Name'.
FileSystem_NewFile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewFile'.
FileSystem_NewLocation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewLocation'.
FileSystem_Retry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Retry'.
FileSystem_Scheme_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Scheme'.
Location is an autogenerated mock type for the Location type.
Location_ChangeDir_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ChangeDir'.
Location_DeleteFile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteFile'.
Location_Exists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exists'.
No description provided by the author
Location_FileSystem_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FileSystem'.
Location_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'.
Location_ListByPrefix_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListByPrefix'.
Location_ListByRegex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListByRegex'.
Location_NewFile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewFile'.
Location_NewLocation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewLocation'.
Location_Path_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Path'.
Location_String_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'String'.
Location_URI_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'URI'.
Location_Volume_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Volume'.
Options is an autogenerated mock type for the Options type.
No description provided by the author
ReadWriteFile is a custom mock which allows the consumer to assign a custom reader and writer for easily mocking file contents.
Retry is an autogenerated mock type for the Retry type.
Retry_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'.
No description provided by the author