Skip to content

__is_same_file__

builtin · libnexusinterp/corefcn/utils-proprietary.cc

: same = __is_same_file__ (filepath1, filepath2)

Return true if the two paths name the same existing file.

Each argument is a string or a cell array of strings; the result has the shape of the cell array. Files are compared by identity, so links and alternative spellings of a path match.