Home
last modified time | relevance | path

Searched refs:fwalk (Results 1 - 2 of 2) sorted by relevance

/third_party/python/Lib/test/
H A Dtest_os.py1279 # Wrapper to hide minor differences between os.walk and os.fwalk
1474 @unittest.skipUnless(hasattr(os, 'fwalk'), "Test needs os.fwalk()")
1476 """Tests for os.fwalk()."""
1479 for root, dirs, files, root_fd in self.fwalk(top, **kwargs):
1482 def fwalk(self, *args, **kwargs): member in FwalkTests
1483 return os.fwalk(*args, **kwargs)
1499 for root, dirs, files, rootfd in self.fwalk(**fwalk_kwargs):
1521 for root, dirs, files, rootfd in self.fwalk(*args, follow_symlinks=follow_symlinks):
1534 # we both check that calling fwalk()
1565 def fwalk(self, top='.', *args, **kwargs): global() member in BytesFwalkTests
[all...]
/third_party/python/Lib/
H A Dos.py431 def fwalk(top=".", topdown=True, onerror=None, *, follow_symlinks=False, dir_fd=None): function
441 The advantage of fwalk() over walk() is that it's safe against symlink
446 (dir_fd is always supported for fwalk.)
449 Since fwalk() yields file descriptors, those are only valid until the
456 for root, dirs, files, rootfd in os.fwalk('python/Lib/email'):
464 sys.audit("os.fwalk", top, topdown, onerror, follow_symlinks, dir_fd)
535 __all__.append("fwalk")

Completed in 6 milliseconds