Documentation ¶
Index ¶
- func DeleteFile(ctx context.Context, fullPath string) error
- func DeleteLocalFileIfExists(filename string)
- func EnsureDirectoryExists(dir string) error
- func FileExists(ctx context.Context, fullPath string) (bool, error)
- func FileReader(ctx context.Context, fullPath string, offset, length int64) (io.Reader, error)
- func FileWriter(ctx context.Context, fullPath string) (io.WriteCloser, error)
- func ReadFile(ctx context.Context, fullPath string) ([]byte, error)
- func WriteFile(ctx context.Context, fullPath string, data []byte) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteLocalFileIfExists ¶
func DeleteLocalFileIfExists(filename string)
func EnsureDirectoryExists ¶
func FileReader ¶
func FileWriter ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.