20b86eabfde1a98c55bcc787d287d8c53741422c hiram Thu Feb 6 11:20:30 2025 -0800 allow /gbdb/genark/ to serve up the GenArk hubs instead of hgdownload refs #34706 diff --git src/hg/inc/hdb.h src/hg/inc/hdb.h index 8e0bab961e7..fee4fe183e3 100644 --- src/hg/inc/hdb.h +++ src/hg/inc/hdb.h @@ -1080,16 +1080,20 @@ /* Get the default knownGene database from the defaultKnown table. */ char *hdbGetMasterGeneTrack(char *knownDb); /* Get the native gene track for a knownGene database. */ boolean trackDataAccessibleHash(char *database, struct trackDb *tdb, struct hash *gbdbHash); /* Return TRUE if underlying data are accessible - meaning the track has either * a bigDataUrl with remote URL (http:// etc), a bigDataUrl with an existing local file, * or a database table with the same name. * Note: this returns FALSE for composite tracks; use this on subtracks or simple tracks. * * if gbdbHash is not NULL, use it when looking for the file */ unsigned hdbGetTrackCartVersion(); /* Get the cart version that our current trackDb wants to use. */ + +boolean isCuratedHubUrl(char *hubUrl); +/* check if the given hubUrl is pointing to a curated hub */ + #endif /* HDB_H */