6b5d81231f6dcb4895d9522b80b2552711a4e87e max Tue Aug 6 03:22:14 2024 -0700 adding resolvPrefix to our hg.conf statements for the udc resolver, refs #34240 diff --git src/inc/udc.h src/inc/udc.h index 71ca230..c0076cd 100644 --- src/inc/udc.h +++ src/inc/udc.h @@ -114,31 +114,31 @@ * Free all *ret's except *retColon when done. */ void udcParseUrlFull(char *url, char **retProtocol, char **retAfterProtocol, char **retColon, char **retAuth); /* Parse the URL into components that udc treats separately. * *retAfterProtocol is Q-encoded to keep special chars out of filenames. * Free all *ret's except *retColon when done. */ char *udcDefaultDir(); /* Get default directory for cache. Use this for the udcFileOpen call if you * don't have anything better.... */ void udcSetDefaultDir(char *path); /* Set default directory for cache */ -void udcSetResolver(char *prots, char *cmd); +void udcSetResolver(char *prots, char *prefix, char *cmd); /* Set protocols and local wrapper program to resolve s3:// and similar URLs to HTTPS */ void udcDisableCache(); /* Switch off caching. Re-enable with udcSetDefaultDir */ #define udcDevicePrefix "udc:" /* Prefix used by convention to indicate a file should be accessed via udc. This is * followed by the local path name or a url, so in common practice you see things like: * udc:http://genome.ucsc.edu/goldenPath/hg18/tracks/someTrack.bb */ struct slName *udcFileCacheFiles(char *url, char *cacheDir); /* Return low-level list of files used in cache. */ char *udcPathToUrl(const char *path, char *buf, size_t size, char *cacheDir); /* Translate path into an URL, store in buf, return pointer to buf if successful