summaryrefslogtreecommitdiffstats
path: root/golib/filepath.go
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-08-08 09:35:50 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-08-08 09:35:50 +0200
commit731872ff3f9616da2a4555e9b5f61a07ab9f399a (patch)
treece9bae37989b55ef70cdc2c2d4d9e3c6e1fc8a51 /golib/filepath.go
parent7496dbabaf710a9e0f3b599c83163adddfcb8870 (diff)
Commented exported functions or structures.
Diffstat (limited to 'golib/filepath.go')
-rw-r--r--golib/filepath.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/golib/filepath.go b/golib/filepath.go
index 5a923b4..90424d7 100644
--- a/golib/filepath.go
+++ b/golib/filepath.go
@@ -65,7 +65,7 @@ func ResolveEnvVar(s string) (string, error) {
return path.Clean(res), nil
}
-// PathNormalize
+// PathNormalize normalizes a linux or windows like path
func PathNormalize(p string) string {
sep := string(filepath.Separator)
if sep != "/" {