package
1.6.14
Repository: https://github.com/getgauge/gauge.git
Documentation: pkg.go.dev

# Functions

ConvertPathToURI - converts OS specific file paths to file uri (eg: file://example.spec).
ConvertURItoFilePath - converts file uri (eg: file://example.spec) to OS specific file paths.
Download fires a HTTP GET request to download a resource to target directory.
DownloadAndUnzip downloads the zip file from given download link and unzips it.
FindAllNestedDirs returns list of all nested directories in given path.
Exported (public) function that calls the unexported function.
FindConceptFilesIn Finds the concept files in specified directory.
IsGaugeFile Returns true if spec file or concept file.
GetConceptsPaths returns the concepts directory.
GetLineCount give no of lines in given text.
GetLinesFromText gets lines of a text in an array.
GetPathToFile returns the path to a given file from the Project root.
GetSpecDirs returns the specification directory.
IsConcept Returns true if concept file.
IsDir reports whether path describes a directory.
IsGaugeFile Returns true if spec file or concept file.
IsProcessRunning checks if the process with the given process id is still running.
IsSpec Returns true if spec file file.
IsValidConceptExtension Checks if the path has a concept file extension.
IsValidSpecExtension Checks if the path has a spec file extension.
IsWindows returns if Gauge is running on Windows.
NumberOfCores returns the number of CPU cores on the system.
Remove removes all the files and directories recursively for the given path.
RemoveTempDir removes the temp dir.
SaveFile saves contents at the given path.
SetWorkingDir sets the current working directory to specified location.

# Constants

# Variables

FindSpecFilesIn Finds spec files in the given directory.
GetConceptFiles It returns the list of concept files It returns concept files from gauge_concepts_dir if present It returns concept files from projectRoot otherwise.
GetSpecFiles returns the list of spec files present at the given path.