MCPcopy Create free account
hub / github.com/docker/compose / osDependentCacheDir

Function osDependentCacheDir

pkg/remote/cache_darwin.go:28–34  ·  view source on GitHub ↗

Based on https://github.com/adrg/xdg Licensed under MIT License (MIT) Copyright (c) 2014 Adrian-George Bostan

()

Source from the content-addressed store, hash-verified

26// Copyright (c) 2014 Adrian-George Bostan <adrg@epistack.com>
27
28func osDependentCacheDir() (string, error) {
29 home, err := os.UserHomeDir()
30 if err != nil {
31 return "", err
32 }
33 return filepath.Join(home, "Library", "Caches", "docker-compose"), nil
34}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected