DEVICE filesystem device index of path

Contents

Inputs

Outputs

function [i, b] = device(file, backend)
arguments
  file string
  backend (1,:) string = ["java", "python", "perl", "sys"]
end

o = stdlib.Backend(mfilename(), backend);
i = o.func(file);

b = o.backend;
end