parameters: (path, recursive=False)
docstring: Lists all the names within a specified path.
  
    Args:
      path (string): The path to be listed (can have wildcards), either local
        file system, or GCS.
      recursive (bool): Whether the glob operation should recurse into subdirectories.
  
    Returns:
      The names list within the provided path.
docstring_summary: Lists all the names within a specified path.
docstring_tokens: Lists all the names within a specified path .
function: def generic_glob(path, recursive=False):
    """Lists all the names within a specified path.
  
    Args:
      path (string): The path to be listed (can have wildcards), either local
        file system, or GCS.
      recursive (bool): Whether the glob operation should recurse into subdirectories.
  
    Returns:
      The names list within the provided path.
    """
    if is_gcs_path(path):
      return torch_xla._XLAC._xla_tffs_list(path)
    else:
      return glob.glob(path, recursive=recursive)
function_tokens: def generic_glob ( path , recursive = False ) : if is_gcs_path ( path ) : return torch_xla . _XLAC . _xla_tffs_list ( path ) else : return glob . glob ( path , recursive = recursive )