summaryrefslogtreecommitdiffstats
path: root/utils/file_backend.go
diff options
context:
space:
mode:
authorJesús Espino <jespinog@gmail.com>2018-06-22 11:15:19 +0200
committerGitHub <noreply@github.com>2018-06-22 11:15:19 +0200
commitd9390244afe90ed318ac8c263c19328f16dc2562 (patch)
tree82e834f259655acec6842b7adc19dff436f8a33d /utils/file_backend.go
parent8526739066ccb00ccd24b74650a7d7b284442985 (diff)
downloadchat-d9390244afe90ed318ac8c263c19328f16dc2562.tar.gz
chat-d9390244afe90ed318ac8c263c19328f16dc2562.tar.bz2
chat-d9390244afe90ed318ac8c263c19328f16dc2562.zip
MM-8810: Add CSV Compliance export (#8966)
* MM-8810: Add CSV Compliance export * Only allowing to schedule actiances export throught the cli * De-duplicating some code * Fixes on texts * Fixes on translations
Diffstat (limited to 'utils/file_backend.go')
-rw-r--r--utils/file_backend.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/file_backend.go b/utils/file_backend.go
index 60c90960d..9ed564592 100644
--- a/utils/file_backend.go
+++ b/utils/file_backend.go
@@ -13,6 +13,7 @@ import (
type FileBackend interface {
TestConnection() *model.AppError
+ Reader(path string) (io.ReadCloser, *model.AppError)
ReadFile(path string) ([]byte, *model.AppError)
CopyFile(oldPath, newPath string) *model.AppError
MoveFile(oldPath, newPath string) *model.AppError