diff options
author | Michael Hirsch, Ph.D <scivision@users.noreply.github.com> | 2019-12-18 23:17:06 -0500 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2019-12-19 08:51:31 -0500 |
commit | fb121f62548bf6d18778d26dd917ae00e1d2c6ef (patch) | |
tree | 30d70f65f732386ee0a618f649fb0d4daed32b6d /docs/markdown/snippets | |
parent | 9e219427803c68a24fcc6afa1fb3bbe8a5e4800d (diff) | |
download | meson-fb121f62548bf6d18778d26dd917ae00e1d2c6ef.zip meson-fb121f62548bf6d18778d26dd917ae00e1d2c6ef.tar.gz meson-fb121f62548bf6d18778d26dd917ae00e1d2c6ef.tar.bz2 |
fs: rename samefile => is_samepath
is_samepath better reflects the nature of this function--that files
and directories can be compared.
Also, instead of raising exceptions, simply return False when one
or both .is_samepath(path1, path1) don't exist. This is more
intuitive behavior and avoids having an extra if fs.exist() to go
with every fs.is_samepath()
Diffstat (limited to 'docs/markdown/snippets')
0 files changed, 0 insertions, 0 deletions