GET_OWNER owner name of file or directory

Contents

Inputs

Outputs

function [n, b] = get_owner(file, backend)
arguments
  file string
  backend (1,:) string = ["java", "dotnet", "python", "sys"]
end

o = stdlib.Backend(mfilename(), backend);

if isscalar(file)
  n = o.func(file);
else
  n = arrayfun(o.func, file);
end

b = o.backend;

end