Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Zheng <[email protected]>
  • Loading branch information
Two-Hearts committed Sep 23, 2024
1 parent 6a4876c commit 661b135
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dir/fs.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ func PluginFS() SysFS {
return NewSysFS(filepath.Join(userLibexecDirPath(), PathPlugins))
}

// CacheFS is the cache SysFS
// CacheFS is the cache SysFS.
//
// To get the directory for crl file cache, one should use
// `CacheFS().SysFS(PathCRLFileCache)`.
func CacheFS() SysFS {
return NewSysFS(userCacheDirPath())
}

0 comments on commit 661b135

Please sign in to comment.