wrench.storage_service

class wrench.storage_service.StorageService(simulation, name: str)

Bases: SimulationItem

WRENCH Storage Service class

create_file_copy(file: File) None

Create a copy of a file (ex nihilo) at the storage service

Parameters:

file – the file

get_name() str

Get the name

lookup_file(file: File) bool

Check whether a copy of a file is stored on the storage service

Parameters:

file – the file

Returns:

true or false

Return type:

bool