ResultServer#

class openfe.storage.resultserver.ResultServer(external_store, metadata_store)#

Bases: object

Class to manage communication between metadata and data storage.

At this level, we provide an abstraction where client code no longer needs to be aware of the nature of the metadata, or even that it exists.

Methods

delete

find_missing_files

Identify files listed in metadata but unavailable in storage

load_stream

store_bytes

store_path

validate

delete(location)#
find_missing_files()#

Identify files listed in metadata but unavailable in storage

load_stream(location, allow_changed=False)#
store_bytes(location, byte_data)#
store_path(location, path)#
validate(location, allow_changed=False)#