Utilities

DIRAC FileCatalog client utilities

DIRAC.Resources.Catalog.Utilities.checkArgumentFormat(path, generateMap=False)

Bring the various possible form of arguments to FileCatalog methods to the standard dictionary form

DIRAC.Resources.Catalog.Utilities.checkCatalogArguments(f)

Decorator to check arguments of FileCatalog calls in the clients