Skip to content

Commit

Permalink
Small formatting update on cache_info()
Browse files Browse the repository at this point in the history
  • Loading branch information
lkdvos committed Jan 17, 2024
1 parent 456e480 commit fb244b4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/caching.jl
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,7 @@ function ram_cache_info(io::IO=stdout)
println(io, "CGC RAM cache info:")
println(io, "===================")
for ((N, T), cache) in CGC_CACHES
println(io, "SU($N) - $T")
println(io, "------------------------")
println(io, "* ", LRUCache.cache_info(cache))
println(io)
println(io, "* SU($N) - $T - $(LRUCache.cache_info(cache))")
end

Check warning on line 94 in src/caching.jl

View check run for this annotation

Codecov / codecov/patch

src/caching.jl#L93-L94

Added lines #L93 - L94 were not covered by tests
return nothing
end
Expand Down Expand Up @@ -131,6 +128,7 @@ Print information about the CGC cache.
"""
function cache_info(io::IO=stdout)
ram_cache_info(io)
println(io)
disk_cache_info(io)
return nothing
end

0 comments on commit fb244b4

Please sign in to comment.