PoolXMLFile

The POOL XML File module provides a means to extract the GUID of a file or list of files by searching for an appropriate POOL XML Catalog in the specified directory.

DIRAC.Resources.Catalog.PoolXMLFile.getGUID(fileNames, directory='')

This function searches the directory for POOL XML catalog files and extracts the GUID.

fileNames can be a string or a list, directory defaults to PWD.

DIRAC.Resources.Catalog.PoolXMLFile.getType(fileNames, directory='')

This function searches the directory for POOL XML catalog files and extracts the type of the pfn.

fileNames can be a string or a list, directory defaults to PWD.