Module: Textus::Infra::FileSystem::Interface

Included in:
Textus::Infra::FileSystem
Defined in:
lib/textus/infra/file_system.rb

Instance Method Summary collapse

Instance Method Details

#copy(source, target) ⇒ Object

Raises:

  • (NotImplementedError)


13
# File 'lib/textus/infra/file_system.rb', line 13

def copy(source, target) = raise NotImplementedError

#delete(path) ⇒ Object

Raises:

  • (NotImplementedError)


9
# File 'lib/textus/infra/file_system.rb', line 9

def delete(path) = raise NotImplementedError

#etag(path) ⇒ Object

Raises:

  • (NotImplementedError)


15
# File 'lib/textus/infra/file_system.rb', line 15

def etag(path) = raise NotImplementedError

#exists?(path) ⇒ Boolean

Returns:

  • (Boolean)

Raises:

  • (NotImplementedError)


10
# File 'lib/textus/infra/file_system.rb', line 10

def exists?(path) = raise NotImplementedError

#glob(pattern) ⇒ Object

Raises:

  • (NotImplementedError)


14
# File 'lib/textus/infra/file_system.rb', line 14

def glob(pattern) = raise NotImplementedError

#mkdir_p(path) ⇒ Object

Raises:

  • (NotImplementedError)


11
# File 'lib/textus/infra/file_system.rb', line 11

def mkdir_p(path) = raise NotImplementedError

#mv(from, to) ⇒ Object

Raises:

  • (NotImplementedError)


12
# File 'lib/textus/infra/file_system.rb', line 12

def mv(from, to) = raise NotImplementedError

#read(path) ⇒ Object

Raises:

  • (NotImplementedError)


7
# File 'lib/textus/infra/file_system.rb', line 7

def read(path) = raise NotImplementedError

#write(path, bytes) ⇒ Object

Raises:

  • (NotImplementedError)


8
# File 'lib/textus/infra/file_system.rb', line 8

def write(path, bytes) = raise NotImplementedError