Module: Textus::Port::Storage::Interface

Included in:
FileStore
Defined in:
lib/textus/port/storage/interface.rb

Instance Method Summary collapse

Instance Method Details

#delete(path) ⇒ Object

Raises:

  • (NotImplementedError)


7
# File 'lib/textus/port/storage/interface.rb', line 7

def delete(path) = raise NotImplementedError

#dir_empty?(dir) ⇒ Boolean

Returns:

  • (Boolean)

Raises:

  • (NotImplementedError)


13
# File 'lib/textus/port/storage/interface.rb', line 13

def dir_empty?(dir) = raise NotImplementedError

#etag(path) ⇒ Object

Raises:

  • (NotImplementedError)


9
# File 'lib/textus/port/storage/interface.rb', line 9

def etag(path) = raise NotImplementedError

#exists?(path) ⇒ Boolean

Returns:

  • (Boolean)

Raises:

  • (NotImplementedError)


8
# File 'lib/textus/port/storage/interface.rb', line 8

def exists?(path) = raise NotImplementedError

#mkdir_p(path) ⇒ Object

Raises:

  • (NotImplementedError)


10
# File 'lib/textus/port/storage/interface.rb', line 10

def mkdir_p(path) = raise NotImplementedError

#mv(from_path, to_path) ⇒ Object

Raises:

  • (NotImplementedError)


11
# File 'lib/textus/port/storage/interface.rb', line 11

def mv(from_path, to_path) = raise NotImplementedError

#read(path) ⇒ Object

Raises:

  • (NotImplementedError)


5
# File 'lib/textus/port/storage/interface.rb', line 5

def read(path) = raise NotImplementedError

#rmdir(path) ⇒ Object

Raises:

  • (NotImplementedError)


12
# File 'lib/textus/port/storage/interface.rb', line 12

def rmdir(path) = raise NotImplementedError

#write(path, bytes) ⇒ Object

Raises:

  • (NotImplementedError)


6
# File 'lib/textus/port/storage/interface.rb', line 6

def write(path, bytes) = raise NotImplementedError