maestral.config

Submodules

Package Contents

maestral.config.list_configs()[source]

Lists all maestral configs.

Returns:

A list of all currently existing config files.

Return type:

List[str]

maestral.config.remove_configuration(config_name)[source]

Removes all config and state files associated with the given configuration.

Parameters:

config_name (str) – The configuration to remove.

Return type:

None

maestral.config.validate_config_name(string)[source]

Validates that the config name does not contain any whitespace.

Parameters:

string (_C) – String to validate.

Returns:

The input value.

Raises:

ValueError – if the config name contains whitespace.

Return type:

_C