Improve doc comments for ApplicationSystem*Dirs
This commit is contained in:
parent
27678b36b9
commit
8c647d118d
11
path.go
11
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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user