

def get_license_file_name(root_dir):
    files = os.listdir(root_dir)
    if ('LICENSE' in files):
        return 'LICENSE'
    if ('LICENSE.txt' in files):
        return 'LICENSE.txt'
    if ('LICENSE.md' in files):
        return 'LICENSE.md'
    return None

dataset/ETHPy150Open databricks/spark-package-cmd-tool/python/spark_package/spark_package.py get_license_file_name/original