• Sawood Alam's avatar
    Implementing custom PathClean function to allow masking, closes #1298 (#1317) · 04bee0f3
    Sawood Alam authored
    * Added path cleanup functions with masking to preserve certain patterns + unit tests, #1298
    
    * Use custom PathClean function instead of path.Clean to apply masks to preserve protocol separator in the path
    
    * Indentation corrected in the test data map to pass the lint
    
    * Fixing ineffassign of a temporary string variable
    
    * Improved variable naming and documentation
    
    * Improved variable naming
    
    * Added benchmarks and improved variable naming in tests
    
    * Removed unnecessary value capture when iterating over a map for keys
    
    * A typo correction
    04bee0f3
pathcleaner_test.go 3.02 KB