{ } Raw JSON

bundles / astropy 7.0.1 / astropy / utils / data / cache_contents

function

astropy.utils.data:cache_contents

source: /astropy/utils/data.py :2166

Signature

def   cache_contents ( pkgname = astropy )

Summary

Obtain a dict mapping cached URLs to filenames.

Extended Summary

This dictionary is a read-only snapshot of the state of the cache when this function was called. If other processes are actively working with the cache, it is possible for them to delete files that are listed in this dictionary. Use with some caution if you are working on a system that is busy with many running astropy processes, although the same issues apply to most functions in this module.

Aliases

  • astropy.utils.data.cache_contents