\n");
cdwFileFreeList(&efList);
}
void doBrowseFiles(struct sqlConnection *conn)
/* Print list of files */
{
printf("
\n");
}
@@ -1398,35 +1398,35 @@
sqlSafef(query, sizeof(query), "select id from cdwSubmitDir where url='/data/cirm/wrangle/%s'", datasetId);
int submitDirId = sqlQuickNum(conn, query);
// If the ID exists and the user has access print a link to the page.
int fileId = getRecentSubmitFileId(conn, submitDirId, "summary/index.html");
boolean haveAccess = ((fileId > 0) && cdwCheckFileAccess(conn, fileId, user));
if (haveAccess)
{
printf("
%s (%s)
\n",
datasetId, label, datasetId);
// Print out file count and descriptions.
sqlSafef(query, sizeof(query),
"select count(*) from %s where data_set_id='%s'", getCdwTableSetting("cdwFileTags"), datasetId);
long long fileCount = sqlQuickLongLong(conn, query);
-// printf("%s (%lld files)",fileCount);
int fileId = getRecentSubmitFileId(conn, submitDirId, "meta.txt");
if ((fileId > 0) && cdwCheckFileAccess(conn, fileId, user))
{
printf(" (metadata: html");
doServeTagStorm(conn, datasetId);
}
}
else // Otherwise print a label and description.
{
printf("%s (%s)
\n", label, datasetId);