xdg

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package xdg resolves blip's config and cache directories.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheDir

func CacheDir() (string, error)

CacheDir is $XDG_CACHE_HOME/blip, falling back to ~/.cache/blip.

func ConfigDir

func ConfigDir() (string, error)

ConfigDir is $XDG_CONFIG_HOME/blip, falling back to ~/.config/blip.

func CredentialsPath

func CredentialsPath() (string, error)

CredentialsPath is where blip expects credentials.toml.

func SpecCacheDir

func SpecCacheDir(apiName string) (string, error)

SpecCacheDir is where the cached spec for a named API lives.

func TokenCachePath

func TokenCachePath(profile string) (string, error)

TokenCachePath is where an oauth2_cc token for a profile is cached.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL