We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
parse_cache_header
1 parent 94b41f4 commit 26db046Copy full SHA for 26db046
src/loading.jl
@@ -4,7 +4,11 @@ function pkg_fileinfo(id::PkgId)
4
cachepath = origin.cachepath
5
cachepath === nothing && return nothing, nothing, nothing
6
provides, includes_requires, required_modules = try
7
- Base.parse_cache_header(cachepath; srcfiles_only=true)
+ @static if VERSION ≥ v"1.11.0-DEV.683"
8
+ Base.parse_cache_header(cachepath)
9
+ else
10
+ Base.parse_cache_header(cachepath, srcfiles_only = true)
11
+ end
12
catch
13
return nothing, nothing, nothing
14
end
0 commit comments