Skip to content

@salesforce/b2c-tooling-sdk / skills / getCacheDir

Function: getCacheDir() ​

getCacheDir(): string

Defined in: packages/b2c-tooling-sdk/src/skills/github.ts:48

Get the cache directory for skills. Uses XDG_CACHE_HOME on Linux, ~/.cache otherwise.

Returns ​

string

Absolute path to cache directory

Released under the Apache-2.0 License.