mittwald / go-helm-client

Go client for accessing the Helm package manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

/tmp is not available on non UNIX OSs

Hamcha opened this issue · comments

The default cache and repository config paths are set in /tmp/* (as in here), a path not available in non-UNIX OSs like Windows.

These paths should be either calculated using os.TempDir (which isn't the cleanest solution, but probably takes the least to implement), or use os.MkdirTemp and just cleanup the directory afterwards.