Home
last modified time | relevance | path

Searched refs:is_symlink (Results 1 – 13 of 13) sorted by relevance

/third_party/python/Lib/
Dos.py394 is_symlink = entry.is_symlink()
399 is_symlink = False
400 walk_into = not is_symlink
502 if entry.is_symlink():
Dshutil.py222 return fn.is_symlink() if isinstance(fn, os.DirEntry) else os.path.islink(fn)
468 is_symlink = srcentry.is_symlink()
469 if is_symlink and os.name == 'nt':
474 is_symlink = False
475 if is_symlink:
604 if entry.is_symlink():
Dpathlib.py480 if entry_is_dir and not entry.is_symlink():
1351 def is_symlink(self): member in Path
/third_party/rust/crates/which-rs/src/
Dchecker.rs45 file_type.is_file() || file_type.is_symlink() in is_valid()
/third_party/python/Lib/test/
Dtest_pathlib.py2270 self.assertFalse((P / 'fileA').is_symlink())
2271 self.assertFalse((P / 'dirA').is_symlink())
2272 self.assertFalse((P / 'non-existing').is_symlink())
2273 self.assertFalse((P / 'fileA' / 'bah').is_symlink())
2275 self.assertTrue((P / 'linkA').is_symlink())
2276 self.assertTrue((P / 'linkB').is_symlink())
2277 self.assertTrue((P/ 'brokenLink').is_symlink())
2610 f.is_symlink()
Dtest_os.py4130 def check_entry(self, entry, name, is_dir, is_file, is_symlink): argument
4142 self.assertEqual(entry.is_symlink(),
4153 os.name == 'nt' and not is_symlink)
4253 self.assertFalse(entry.is_symlink())
4272 self.assertFalse(entry.is_symlink())
4299 self.assertTrue(entry.is_symlink())
4352 self.assertEqual(entry.is_symlink(), entry.name == 'link')
/third_party/python/Doc/library/
Dpathlib.rst689 :meth:`~Path.is_mount()`, :meth:`~Path.is_symlink()`,
855 .. method:: Path.is_symlink()
1263 :func:`os.path.islink` :meth:`Path.is_symlink`
Dos.rst2550 .. method:: is_symlink()
2589 meaning, as do the ``is_dir()``, ``is_file()``, ``is_symlink()``
/third_party/python/Modules/
Dposixmodule.c13591 int is_symlink; in DirEntry_test_mode() local
13599 is_symlink = (self->win32_lstat.st_mode & S_IFMT) == S_IFLNK; in DirEntry_test_mode()
13600 need_stat = follow_symlinks && is_symlink; in DirEntry_test_mode()
13602 is_symlink = self->d_type == DT_LNK; in DirEntry_test_mode()
13603 need_stat = self->d_type == DT_UNKNOWN || (follow_symlinks && is_symlink); in DirEntry_test_mode()
13632 else if (is_symlink) { in DirEntry_test_mode()
/third_party/python/Doc/whatsnew/
D3.8.rst1080 :meth:`~pathlib.Path.is_symlink()`, :meth:`~pathlib.Path.is_block_device()`,
/third_party/python/Misc/NEWS.d/
D3.8.0a1.rst4157 :meth:`~pathlib.Path.is_mount()`, :meth:`~pathlib.Path.is_symlink()`,
/third_party/libabigail/tests/data/test-read-dwarf/
Dtest9-pr18818-clang.so.abi4166 …<function-decl name='is_symlink' mangled-name='_ZN5boost10filesystem10is_symlinkENS0_11file_status…
Dtest10-pr18818-gcc.so.abi5897 …<function-decl name='is_symlink' mangled-name='_ZN5boost10filesystem10is_symlinkENS0_11file_status…