Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does double slash mean in the file path?

Tags:

java

I have a java project which has a property file with the below entry:

api_secret_key=target/test-classes//abc-dev.pem

What does

//

in the above path mean?

like image 323
eureka19 Avatar asked Jan 25 '17 16:01

eureka19


1 Answers

This has no effect in file paths. The file system will treat them as a single slash.

These paths are all the same:

a/b
a//b
a///////b
a/./b
a/../a/b
like image 198
Aaron Digulla Avatar answered Nov 15 '22 20:11

Aaron Digulla