summaryrefslogtreecommitdiff
path: root/file.go
diff options
context:
space:
mode:
authorMarin Ivanov <[email protected]>2022-08-14 19:10:19 +0300
committerMarin Ivanov <[email protected]>2022-08-14 19:10:19 +0300
commit391f147a227b264c37c57950c9ee054bfd22cd41 (patch)
tree98a20bc09337b1ee5e7352a03a669037cfb2ae94 /file.go
parentb6d256dd2b38f499392493307aeac7a8948f2968 (diff)
Bootstrap afero.Fs
Diffstat (limited to 'file.go')
-rw-r--r--file.go62
1 files changed, 62 insertions, 0 deletions
diff --git a/file.go b/file.go
new file mode 100644
index 0000000..c20ab62
--- /dev/null
+++ b/file.go
@@ -0,0 +1,62 @@
+package s3
+
+import (
+ "os"
+)
+
+type File struct {
+ name string
+}
+
+// implements io.Closer
+func (f *File) Close() error {
+ panic("not implemented")
+}
+
+// implements io.Reader
+func (f *File) Read(b []byte) (int, error) {
+ panic("not implemented")
+}
+
+// implements io.ReaderAt
+func (f *File) ReadAt(p []byte, off int64) (int, error) {
+ panic("not implemented")
+}
+
+// implements io.Writer
+func (f *File) Write(p []byte) (int, error) {
+ panic("not implemented")
+}
+
+// implements io.WriterAt
+func (f *File) WriteAt(p []byte, off int64) (int, error) {
+ panic("not implemented")
+}
+
+func (f *File) Name() string {
+ return f.name
+}
+
+func (f *File) Readdir(count int) ([]os.FileInfo, error) {
+ panic("not implemented")
+}
+
+func (f *File) Readdirnames(n int) ([]string, error) {
+ panic("not implemented")
+}
+
+func (f *File) Stat() (os.FileInfo, error) {
+ panic("not implemented")
+}
+
+func (f *File) Sync() error {
+ panic("not implemented")
+}
+
+func (f *File) Truncate(size int64) error {
+ panic("not implemented")
+}
+
+func (f *File) WriteString(s string) (ret int, err error) {
+ panic("not implemented")
+}