← Back to team overview

marionnet-dev team mailing list archive

[Branch ~marionnet-drivers/ocamlbricks/trunk] Rev 491: Added function FilenameExtra.simplify which simplifies a relative or absolute path of a file give...

 

------------------------------------------------------------
revno: 491
committer: Jean-Vincent Loddo <loddo@xxxxxxxxxxxxxxxxxxxx>
branch nick: ocamlbricks
timestamp: Fri 2020-03-27 19:32:32 +0100
message:
  Added function FilenameExtra.simplify which simplifies a relative or absolute path of a file given in a Unix-style. Examples:
  FilenameExtra.simplify "/////../../././foo/././bar////.."  =>  "/foo"
  FilenameExtra.simplify "baz/../../../././foo/././bar////"  => "./../../foo/bar"
modified:
  EXTRA/filenameExtra.ml
  EXTRA/filenameExtra.mli


--
lp:ocamlbricks
https://code.launchpad.net/~marionnet-drivers/ocamlbricks/trunk

Your team marionnet-dev is subscribed to branch lp:ocamlbricks.
To unsubscribe from this branch go to https://code.launchpad.net/~marionnet-drivers/ocamlbricks/trunk/+edit-subscription