Modules.deploy_files

This Module deploys a small toy example schema and the config. It also contains smaller functions wrapping around saving the config or the index files.

Functions

deploy_config(path)

deploys the config file, which retains last used file, schema and directory

deploy_schema(path)

deploys the default example schema that is hardcoded here into a path

save_config(path, config)

Writes the config to the harddrive

save_index(path, index, count)

Writes the index of a directory to the harddrive

save_main_index(path, index_dict)

Writes the main index containing information about all indexed directories to the harddrive