Currently the code does not properly support using the fresh configuration flag when using a lower layer. It simply prints a message telling the user to remove the data in the lower layer path provided. To properly support this flag, we should recursively delete the data in the provided path.
A low priority leftover task from #2182.
Currently the code does not properly support using the
fresh
configuration flag when using a lower layer. It simply prints a message telling the user to remove the data in the lower layer path provided. To properly support this flag, we should recursively delete the data in the provided path.https://github.com/mirage/irmin/blob/03ad27f4581547ee872a3a4e1512a74914c04b7b/src/irmin-pack/unix/file_manager.ml#L470-L475