Function xvc_core::util::file::dir_includes

source ·
pub fn dir_includes(
    pmm: &XvcPathMetadataMap,
    directory: &XvcPath,
    path: &XvcPath
) -> Result<bool>
Expand description

Checks whether path is under directory by checking first if it’s in the pmm keys

§Caching

This is a cached function that uses the DIR_INCLUDES cached static.