pub(crate) fn ensure_with_policy( dir: &Path, e: &ExpertLayout, bits: u32, force: bool, allow_build: bool, ) -> Result<Layout>