Path β
What make a path valid? β
- A path must be a non empty string.
- A "Unix" type representation of paths must be used - The separator used for directories is
/. - The maximum size of a path is 255 characters.
- Each member of the path must be a valid filename (as described here)
Example of valid path β
/file.txtfile.txt/a/a/a/[a].txt
Exemaple of invalid path β
//file.txtfile.txt//a//a/a/[a].txt//a/con/a/con.txtcon/a.txtabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz.txt