binaryninja.os.DirEntry

class DirEntry
__init__()

Initialize self. See help(type(self)) for accurate signature.

Methods

inode

Return inode of the entry; cached per entry.

is_dir

Return True if the entry is a directory; cached per entry.

is_file

Return True if the entry is a file; cached per entry.

is_symlink

Return True if the entry is a symbolic link; cached per entry.

stat

Return stat_result object for the entry; cached per entry.

Attributes

name

the entry’s base filename, relative to scandir() “path” argument

path

the entry’s full path name; equivalent to os.path.join(scandir_path, entry.name)