You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
152 B
Bash
13 lines
152 B
Bash
5 years ago
|
$ go run file-paths.go
|
||
|
p: dir1/dir2/filename
|
||
|
dir1/filename
|
||
|
dir1/filename
|
||
|
Dir(p): dir1/dir2
|
||
|
Base(p): filename
|
||
|
false
|
||
|
true
|
||
|
.json
|
||
|
config
|
||
|
t/file
|
||
|
../c/t/file
|