.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-11-14T02:41:06Z by OpenModelicaOpenModelica 1.15.0~dev-9-g34505da using GenerateDoc.mos