 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiffReport ¶ added in v0.20.2
type DiffReport struct {
	SourceCodeMapPath string
	SourceCodePath    string
	Sources           map[string]*sourceDiff
	TotalDifferences  int
}
    func CompareSourceMapToSourceCode ¶
func CompareSourceMapToSourceCode( pluginID string, sourceCodeMapFile string, sourceCodePath string, ) (DiffReport, error)
CompareSourceMapToSourceCode compares the source code map to the source code. It returns a DiffReport that contains the differences between the source code map and the source code. sourceCodeMapFile is the path to the source code map file. (.js.map) sourceCodePath is the path to the source code directory. (the directory that contains the source code files)
func (*DiffReport) GeneratePrintableReport ¶ added in v0.20.2
func (r *DiffReport) GeneratePrintableReport() string
 Click to show internal directories. 
   Click to hide internal directories.