

def get_child(self, name):
    name_lower = name.lower()
    for child in self.get_children():
        if (len(child.get_filenames()) > 1):
            g_logger.debug('file names: %s -> %s', child.get_name(), child.get_filenames())
        for fn in child.get_filenames():
            if (name_lower == fn.lower()):
                return child
    raise ChildNotFoundError()

dataset/ETHPy150Open williballenthin/python-ntfs/ntfs/filesystem/__init__.py NTFSDirectory.get_child/original