Header menu logo fantomas

PathMap Module

Functions and values

Function or value Description

PathMap.addMapping arg1 arg2 arg3

Full Usage: PathMap.addMapping arg1 arg2 arg3

Parameters:
    arg0 : string
    arg1 : string
    arg2 : PathMap

Returns: PathMap

Add a path mapping to the map.

arg0 : string
arg1 : string
arg2 : PathMap
Returns: PathMap

PathMap.apply arg1 arg2

Full Usage: PathMap.apply arg1 arg2

Parameters:
Returns: string

Map a file path with its replacement. Prefixes are compared case sensitively.

arg0 : PathMap
arg1 : string
Returns: string

PathMap.applyDir arg1 arg2

Full Usage: PathMap.applyDir arg1 arg2

Parameters:
Returns: string

Map a directory name with its replacement. Prefixes are compared case sensitively.

arg0 : PathMap
arg1 : string
Returns: string

PathMap.empty

Full Usage: PathMap.empty

Returns: PathMap
Returns: PathMap

Type something to start searching.