From 8c647d118d7d564c57e3eb2103b925087f1347d9 Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Fri, 23 Aug 2024 02:27:49 -0400 Subject: [PATCH] Improve doc comments for ApplicationSystem*Dirs --- path.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/path.go b/path.go index 0439aa4..3c95d48 100644 --- a/path.go +++ b/path.go @@ -11,8 +11,9 @@ func ApplicationUserDataDir (app ApplicationDescription) (string, error) { } // ApplicationSystemDataDirs returns a list of directory paths where an -// application can look for its system-level data files. These directories may -// or may not exist. This function may return an empty slice on some platforms. +// application can look for its system-level data files. Directories returned +// by this function may or may not actually exist. This function may return an +// empty slice on some platforms. func ApplicationSystemDataDirs (app ApplicationDescription) ([]string, error) { return systemDirs(app.ID, systemDataDirs) } @@ -24,9 +25,9 @@ func ApplicationUserConfigDir (app ApplicationDescription) (string, error) { } // ApplicationSystemDataDirs returns a list of directory paths where an -// application can look for its system-level configuration files. These -// directories may or may not exist. This function may return an empty slice on -// some platforms. +// application can look for its system-level configuration files. Directories +// returned by this function may or may not actually exist. This function may +// return an empty slice on some platforms. func ApplicationSystemConfigDirs (app ApplicationDescription) ([]string, error) { return systemDirs(app.ID, systemConfigDirs) }