# File lib/ole/storage/file_system.rb, line 46
    def dirent_from_path path
      dirent = @root
      path = file.expand_path(path).split('/')
      until path.empty?
        part = path.shift
        next if part.empty?
        return nil if dirent.file?
        return nil unless dirent = dirent/part
      end
      dirent
    end