xrf_explorer.server.file_system.sources package

Submodules

xrf_explorer.server.file_system.sources.data_listing module

get_data_source_files(data_source: str) list[str][source]

Return a list of all the files stored in the folder belonging to a data source. Does not look at files in subdirectories.

Parameters:

data_source – name of the data source

Returns:

list of all files stored in the folder belonging to a data source

get_data_sources_names() list[str][source]

Return a list of all available data sources stored in the data folder on the remote server as specified in the project’s configuration.

Returns:

list of all data source names stored in the folder on the server

Module contents

Module to handle file system operations for getting all data sources and their files.