9358ec5d40af122594470fa05e1adc23e33f2cba braney Mon Nov 14 14:17:26 2011 -0800 add an option to hubCheck to not check all the tracks, just check the trackDb. Useful in crawling the hubs to pull the trackDb's into the udc cache where they can be parsed. #5088 diff --git src/hg/inc/trackHub.h src/hg/inc/trackHub.h index c06e7e8..2e70c22 100644 --- src/hg/inc/trackHub.h +++ src/hg/inc/trackHub.h @@ -72,22 +72,23 @@ char *trackHubRequiredSetting(struct trackHub *hub, char *name); /* Return named setting. Abort with error message if not found. */ char *trackHubRelativeUrl(char *hubUrl, char *path); /* Return full path (in URL form if it's a remote hub) given * path possibly relative to hubUrl. Do a freeMem of result * when done. */ void trackHubGenomeFree(struct trackHubGenome **pGenome); /* Free up genome info. */ void trackHubGenomeFreeList(struct trackHubGenome **pList); /* Free a list of dynamically allocated trackHubGenome's */ -int trackHubCheck(char *hubUrl, struct dyString *errors); +int trackHubCheck(char *hubUrl, struct dyString *errors, boolean checkTracks); /* trackHubCheck - Check a track data hub for integrity. Put errors in dyString. + * if checkTracks is TRUE, individual tracks are checked * return 0 if hub has no errors, 1 otherwise */ #endif /* TRACKHUB_H */