gaunt-sloth-assistant
Version:
[](https://github.com/Galvanized-Pukeko/gaunt-sloth-assistant/actions/workflows/unit-tests.yml) [ • 1.07 kB
TypeScript
/**
* Gets the global .gsloth directory path in the user's home directory
* @returns The resolved path to the global .gsloth directory
*/
export declare function getGlobalGslothDir(): string;
/**
* Ensures the global .gsloth directory exists in the user's home directory
* Creates it if it doesn't exist
* @returns The resolved path to the global .gsloth directory
*/
export declare function ensureGlobalGslothDir(): string;
/**
* Gets the global auth directory path
* @returns The resolved path to the global auth directory
*/
export declare function getGlobalAuthDir(): string;
/**
* Ensures the global auth directory exists
* Creates it if it doesn't exist
* @returns The resolved path to the global auth directory
*/
export declare function ensureGlobalAuthDir(): string;
/**
* Gets the path for a specific OAuth provider's storage file
* @param serverUrl The server URL or identifier for the OAuth provider
* @returns The resolved path where the OAuth data should be stored
*/
export declare function getOAuthStoragePath(serverUrl: string): string;