modelGitShaLogger
Model that stores the git sha of library dependencies
Extends from Modelica.Blocks.Icons.Block.
Information
This model collects the git sha's of the libraries in libraryNames and stores these
sha's in the path shaResultPath.
The library paths are automatically fetch from libraryNames through the definition
of parameter libraryPaths.
Note that libraryNames is a constant and hence does not show up in the parameter window.
Its values can be defined using the Modelica text view.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| String | libraryNames | {"IDEAS"} | Library names, printed in result file |
| String | libraryPaths | {Modelica.Utilities.Files.loadResource("modelica://" + libraryName + "/") for libraryName in libraryNames} | Library paths, used to fetch sha's |
| String | shaResultPath | Modelica.Utilities.Files.loadResource("modelica://IDEAS/") + getInstanceName() + "_dependencies.txt" | Path where the sha's will be stored |
| Boolean | verbose | true | =true, to print sha's to simulation output |
Contents
| Name | Description |
|---|---|
| tagCommitprotected |
Revisions
-
October 23, 2018, by Filip Jorissen:
First implementation.