Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
GlobalDirMap is a map of all possible directory paths in the entire project scope
GlobalFileHashMap is a map of files and the hashes of their imports. It is used to determine when to rebuild the dependency array(i.e when the imports change)
GlobalPkgMap is the map of all imported packages in the project files to the dir file paths
Functions ¶
func BuildDeps ¶
func BuildDeps(dir string)
BuildDeps takes a file and returns a list of the dependencies of the file along with their dependencies
func BuildGlobalDirMap ¶
BuildGlobalDirMap is a function that constructs a map that contains all the files and directories in the currDir argument passed to it
func EmptyPkgMap ¶
func EmptyPkgMap()
func FetchFiles ¶
FetchFiles is a function that scans a directory and returns an array of the path of all the files in the dir
Types ¶
This section is empty.