.OpenModelica.Scripting.dirname

Returns the directory name of a file path.

Information

Similar to dirname(3), but with the safety of Modelica strings.

Interface

function dirname
  input String path;
  output String dirname;
end dirname;

Generated at 2025-05-10T18:20:09Z by OpenModelicaOpenModelica 1.25.0 using GenerateDoc.mos