[][src]Module sic_cli::common_dir

The goal of the functionality within this module is to find a common sub directory D for a set of input files, split the input files at D, and concat the second element (directories and files which aren't a common path for all input files) to an output directory.

In summary, we aim to mirror an unrooted file structure to a new root.

Structs

CommonDir

A common dir (1st element), and a set of paths (2nd element) which when concatenated with the common dir, result in a full path again.