summaryrefslogtreecommitdiff
path: root/adapters/files/files_adapter.go
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth@simponic.xyz>2024-08-17 18:29:33 -0400
committersimponic <simponic@hatecomputers.club>2024-08-17 18:29:33 -0400
commitb1775c4408bb00803eba321aa66ab92d6ba45580 (patch)
tree90179edff8951b06abb91495ce21c8b1841d2d82 /adapters/files/files_adapter.go
parent0b8883c236a06a14e5e6958ed47f89729b0e41aa (diff)
downloadhatecomputers.club-b1775c4408bb00803eba321aa66ab92d6ba45580.tar.gz
hatecomputers.club-b1775c4408bb00803eba321aa66ab92d6ba45580.zip
kennel (#13)
Reviewed-on: https://git.hatecomputers.club/hatecomputers/hatecomputers.club/pulls/13 Co-authored-by: Elizabeth Hunt <elizabeth@simponic.xyz> Co-committed-by: Elizabeth Hunt <elizabeth@simponic.xyz>
Diffstat (limited to 'adapters/files/files_adapter.go')
-rw-r--r--adapters/files/files_adapter.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/adapters/files/files_adapter.go b/adapters/files/files_adapter.go
index bf3ea5f..44853e1 100644
--- a/adapters/files/files_adapter.go
+++ b/adapters/files/files_adapter.go
@@ -4,5 +4,6 @@ import "io"
type FilesAdapter interface {
CreateFile(path string, content io.Reader) (string, error)
+ FileExists(path string) bool
DeleteFile(path string) error
}