

def get_children(self):
    ret = []
    for child in self._fs.get_record_children(self._record):
        if child.is_directory():
            ret.append(NTFSDirectory(ret._fs, child))
        else:
            ret.append(NTFSFile(self._fs, child))
    return ret

dataset/ETHPy150Open williballenthin/python-ntfs/ntfs/filesystem/__init__.py NTFSDirectory.get_children/VarMisuse@46/57 `self`->`ret`