diff options
-rw-r--r-- | cache/getdir_darwin.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cache/getdir_darwin.go b/cache/getdir_darwin.go index 733e94e..d605d73 100644 --- a/cache/getdir_darwin.go +++ b/cache/getdir_darwin.go @@ -21,3 +21,10 @@ func GetDir() string { return cetusCacheDir } + +// Dir returns "/dev/null", this is required because unveil func in +// main.go calls it & it's useless on macOS anyways so we return +// "/dev/null". +func Dir() string { + return "/dev/null" +} |