Module: Textus::Port::Storage::Interface
- Included in:
- FileStore
- Defined in:
- lib/textus/port/storage/interface.rb
Instance Method Summary collapse
- #delete(path) ⇒ Object
- #dir_empty?(dir) ⇒ Boolean
- #etag(path) ⇒ Object
- #exists?(path) ⇒ Boolean
- #mkdir_p(path) ⇒ Object
- #mv(from_path, to_path) ⇒ Object
- #read(path) ⇒ Object
- #rmdir(path) ⇒ Object
- #write(path, bytes) ⇒ Object
Instance Method Details
#delete(path) ⇒ Object
7 |
# File 'lib/textus/port/storage/interface.rb', line 7 def delete(path) = raise NotImplementedError |
#dir_empty?(dir) ⇒ Boolean
13 |
# File 'lib/textus/port/storage/interface.rb', line 13 def dir_empty?(dir) = raise NotImplementedError |
#etag(path) ⇒ Object
9 |
# File 'lib/textus/port/storage/interface.rb', line 9 def etag(path) = raise NotImplementedError |
#exists?(path) ⇒ Boolean
8 |
# File 'lib/textus/port/storage/interface.rb', line 8 def exists?(path) = raise NotImplementedError |
#mkdir_p(path) ⇒ Object
10 |
# File 'lib/textus/port/storage/interface.rb', line 10 def mkdir_p(path) = raise NotImplementedError |
#mv(from_path, to_path) ⇒ Object
11 |
# File 'lib/textus/port/storage/interface.rb', line 11 def mv(from_path, to_path) = raise NotImplementedError |
#read(path) ⇒ Object
5 |
# File 'lib/textus/port/storage/interface.rb', line 5 def read(path) = raise NotImplementedError |
#rmdir(path) ⇒ Object
12 |
# File 'lib/textus/port/storage/interface.rb', line 12 def rmdir(path) = raise NotImplementedError |
#write(path, bytes) ⇒ Object
6 |
# File 'lib/textus/port/storage/interface.rb', line 6 def write(path, bytes) = raise NotImplementedError |