Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | hash_key |
Check if cache entry exists |
function cache_exists(hash_key) result(cache_found) !> Check if cache entry exists character(len=*), intent(in) :: hash_key logical :: cache_found character(len=:), allocatable :: cache_path cache_path = join_path(trim(get_cache_subdir('builds')), trim(hash_key)) cache_found = exists(trim(cache_path)) end function cache_exists