Discover Packages
github.com/cloudstic/cli
internal
paths
package
Version:
v1.6.0
Opens a new window with list of versions in this module.
Published: Mar 3, 2026
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
ConfigDir returns the directory for cloudstic configuration and state files.
Resolution order:
CLOUDSTIC_CONFIG_DIR environment variable (if set)
os.UserConfigDir()/cloudstic (platform default)
The directory is created with 0700 permissions if it does not exist.
TokenPath returns the full path for a token file stored inside the config
directory (e.g. "google_token.json" → "~/.config/cloudstic/google_token.json").
Source Files
¶
Click to show internal directories.
Click to hide internal directories.