Returns the path without the file extension.
Example:
var path = new Path ("/tmp/file.txt");
assert (path.withoutExtension () == "/tmp/file");
var noExt = new Path ("/tmp/Makefile");
assert (noExt.withoutExtension () == "/tmp/Makefile");
|
the path string without extension. |