diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-11 17:29:02 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-11 17:29:02 +0800 |
commit | f64ead6a659ed5d22105eea2910fa6a73e35e23a (patch) | |
tree | 1fb756e00e008278ff286a0b5c54d2102ee230fb /misc | |
parent | misc: Add sanitize_path (diff) | |
download | go-lindenii-common-f64ead6a659ed5d22105eea2910fa6a73e35e23a.tar.gz go-lindenii-common-f64ead6a659ed5d22105eea2910fa6a73e35e23a.tar.zst go-lindenii-common-f64ead6a659ed5d22105eea2910fa6a73e35e23a.zip |
misc: sanitize_path should be exported
Diffstat (limited to 'misc')
-rw-r--r-- | misc/path.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/path.go b/misc/path.go index c7013d8..1b2e8a3 100644 --- a/misc/path.go +++ b/misc/path.go @@ -5,7 +5,7 @@ import ( "strings" ) -func sanitize_path(path string) (string, bool) { +func Sanitize_path(path string) (string, bool) { if path == "" { return "", false } |