.OpenModelica.Scripting.compareFilesAndMove

Information

Compares newFile and oldFile. If they differ, overwrite oldFile with newFile

Basically: test -f ../oldFile && cmp newFile oldFile || mv newFile oldFile

Interface

impure function compareFilesAndMove
  input String newFile;
  input String oldFile;
  output Boolean success;
end compareFilesAndMove;

Generated at 2019-07-21T01:38:01Z by OpenModelicaOpenModelica 1.14.0~dev-26621-ge80848f using GenerateDoc.mos