Physlib.Meta.AllFilePaths
3 declarations
Recursive Collection of File Paths
#goLet be an array of file paths, be a string representing a root directory, and be a specific file path. The function `allFilePaths.go` is a recursive utility that traverses the file system starting from relative to , appending all discovered file paths to , and returns the resulting array as an operation.
Array of all file paths in `Physlib`
#allFilePathsThe function `allFilePaths` is an operation that returns an array containing the `FilePath` of every file found within the `./Physlib` directory.
Array of all module names in `Physlib`
#allPhyslibModulesThe function `allPhyslibModules` is an operation that returns an array of `Lean.Name` values representing the module names of all files within the `Physlib` directory. It processes the list of file paths by removing the `.lean` extension and converting the directory path separators into a dot-separated format, starting with the prefix `Physlib.`.
