Cache directory

How does kopia know which cache directory to use for a certain repository. Is the name of the cache directory stored in the repository?

Caching information is saved in the repository.config file.

I too have a similar question

If I could ask it here itself please

Is the cache set –-size- information also stored in the repository.config file?

Did you take a look at your repository.config file and see which information it holds? Mine shows

  "caching": {
    "cacheDirectory": "../../.cache/kopia/66244dc6b179c1e6",
    "maxCacheSize": 5242880000,
    "maxMetadataCacheSize": 5242880000,
    "maxListCacheDuration": 30
  },