Module: Textus::Infra::FileSystem::Interface
- Included in:
- Textus::Infra::FileSystem
- Defined in:
- lib/textus/infra/file_system.rb
Instance Method Summary collapse
- #copy(source, target) ⇒ Object
- #delete(path) ⇒ Object
- #etag(path) ⇒ Object
- #exists?(path) ⇒ Boolean
- #glob(pattern) ⇒ Object
- #mkdir_p(path) ⇒ Object
- #mv(from, to) ⇒ Object
- #read(path) ⇒ Object
- #write(path, bytes) ⇒ Object
Instance Method Details
#copy(source, target) ⇒ Object
13 |
# File 'lib/textus/infra/file_system.rb', line 13 def copy(source, target) = raise NotImplementedError |
#delete(path) ⇒ Object
9 |
# File 'lib/textus/infra/file_system.rb', line 9 def delete(path) = raise NotImplementedError |
#etag(path) ⇒ Object
15 |
# File 'lib/textus/infra/file_system.rb', line 15 def etag(path) = raise NotImplementedError |
#exists?(path) ⇒ Boolean
10 |
# File 'lib/textus/infra/file_system.rb', line 10 def exists?(path) = raise NotImplementedError |
#glob(pattern) ⇒ Object
14 |
# File 'lib/textus/infra/file_system.rb', line 14 def glob(pattern) = raise NotImplementedError |
#mkdir_p(path) ⇒ Object
11 |
# File 'lib/textus/infra/file_system.rb', line 11 def mkdir_p(path) = raise NotImplementedError |
#mv(from, to) ⇒ Object
12 |
# File 'lib/textus/infra/file_system.rb', line 12 def mv(from, to) = raise NotImplementedError |
#read(path) ⇒ Object
7 |
# File 'lib/textus/infra/file_system.rb', line 7 def read(path) = raise NotImplementedError |
#write(path, bytes) ⇒ Object
8 |
# File 'lib/textus/infra/file_system.rb', line 8 def write(path, bytes) = raise NotImplementedError |