Module html.CoverageData.Util.FilePathNormalizer

Info:

  • Copyright: 2020 wesen
  • Release: 0.1
  • License: MIT
  • Author: wesen

Class FilePathNormalizer

FilePathNormalizer:normalizeFilePath (_filePath) Normalizes a given file path.


Class FilePathNormalizer

Removes all "../" and "./" from file paths.
FilePathNormalizer:normalizeFilePath (_filePath)
Normalizes a given file path. This means that all "../" and "./" inside the path will be removed.

Parameters:

  • _filePath string The file path to normalize

Returns:

    string The normalized file path
generated by LDoc 1.4.6 Last updated 2020-06-01 14:04:23