1. 19 Dec, 2015 1 commit
  2. 18 Dec, 2015 12 commits
  3. 17 Dec, 2015 17 commits
  4. 16 Dec, 2015 7 commits
  5. 15 Dec, 2015 1 commit
  6. 14 Dec, 2015 2 commits
    • stijn's avatar
      951fc7e9
    • Paul Sokolovsky's avatar
      unix/modos: Implement ilistdir(). · d874702f
      Paul Sokolovsky authored
      ilistdir() returns iterator which yields triples of (name, type, ino)
      where ino is inode number for entry's data, type of entry (file/dir/etc.),
      and name of file/dir. listdir() can be easily implemented in terms of this
      iterator (which is otherwise more efficient in terms of memory use and may
      save expensive call to stat() for each returned entry).
      
      CPython has os.scandir() which also returns an iterator, but it yields
      more complex objects of DirEntry type. scandir() can also be easily
      implemented in terms of ilistdir().
      d874702f