Skip to content

Commit

Permalink
Create normalize_path.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Mqxx committed Nov 6, 2023
1 parent 788c8b2 commit bfc898c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/filesystem/normalize_path.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/**
* This function takes a path and a separator and returns the normalized path.
* ```
* normalizePath('this///////is/a//very/messed//./up//.//long/../path//to///a//..../special/../file///.///');
* // this/is/a/very/messed/up/path/file/
* ```
* @returns The normalized path
*/
export default function normalizePath() {

}

0 comments on commit bfc898c

Please sign in to comment.