def METHOD_NAME(self, dirID):
    """Get directory name by directory ID"""
    req = "SELECT DirName FROM FC_DirectoryTreeM WHERE DirID=%d" % int(dirID)
    result = self.db._query(req)
    if not result["OK"]:
        return result
    if not result["Value"]:
        return S_ERROR("Directory with id %d not found" % int(dirID))
    return S_OK(result["Value"][0][0])