diff options
| author | Jeff Carr <[email protected]> | 2025-10-25 02:31:52 -0500 | 
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-25 02:31:52 -0500 | 
| commit | c78fcc616212a586d246c05c951552f90cad7ab4 (patch) | |
| tree | 8cc66ad17b03334c70d2cbfcdde6760ebc2c17a3 | |
| parent | af08523350b6f8db391a14165eeb1b57193b73c2 (diff) | |
this func() will force the .cache/ files to exist
| -rw-r--r-- | cacheDir.go | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/cacheDir.go b/cacheDir.go index 400944e..ac5bd46 100644 --- a/cacheDir.go +++ b/cacheDir.go @@ -43,9 +43,9 @@ func LoadCacheDirByAppname(pb proto.Message, appname string) error {  }  // checks the UUID and Version of the .pb file -func CreateCacheDirPB(pb proto.Message, appname string, protoname string) error { -	// Get ~/.cache/appname/protoname.text -	fullname := MakeCacheFilename(appname, protoname) +func CreateCacheDirPB(pb proto.Message, dirname string, filename string) error { +	// Get ~/.cache/dirname/filename.text +	fullname := MakeCacheFilename(dirname, filename)  	_, err := SetFilename(pb, fullname)  	if err != nil {  | 
