Fossil SCM

Remove the empty implementation of the /files webpage. (It's not only dead code since a /help page get generated for it.)

mgagnon 2024-09-20 20:24 trunk
Commit e897da20a083d12dd78c4ab1f26009cfff5b14fc8d32f620088f499bfb50fedf
1 file changed -17
-17
--- src/browse.c
+++ src/browse.c
@@ -1258,22 +1258,5 @@
12581258
@ </table></div>
12591259
db_finalize(&q1);
12601260
db_finalize(&q2);
12611261
style_finish_page();
12621262
}
1263
-
1264
-/*
1265
-** WEBPAGE: files
1266
-**
1267
-** Show files as a flat table. If the ci=LABEL query parameter is provided,
1268
-** then show all the files in the specified check-in. Without the ci= query
1269
-** parameter show all files across all check-ins.
1270
-**
1271
-** Query parameters:
1272
-**
1273
-** name=PATH Directory to display. Optional
1274
-** ci=LABEL Show only files in this check-in. Optional.
1275
-** re=REGEXP Show only files matching REGEXP. Optional.
1276
-*/
1277
-void files_page(void){
1278
- return;
1279
-}
12801263
--- src/browse.c
+++ src/browse.c
@@ -1258,22 +1258,5 @@
1258 @ </table></div>
1259 db_finalize(&q1);
1260 db_finalize(&q2);
1261 style_finish_page();
1262 }
1263
1264 /*
1265 ** WEBPAGE: files
1266 **
1267 ** Show files as a flat table. If the ci=LABEL query parameter is provided,
1268 ** then show all the files in the specified check-in. Without the ci= query
1269 ** parameter show all files across all check-ins.
1270 **
1271 ** Query parameters:
1272 **
1273 ** name=PATH Directory to display. Optional
1274 ** ci=LABEL Show only files in this check-in. Optional.
1275 ** re=REGEXP Show only files matching REGEXP. Optional.
1276 */
1277 void files_page(void){
1278 return;
1279 }
1280
--- src/browse.c
+++ src/browse.c
@@ -1258,22 +1258,5 @@
1258 @ </table></div>
1259 db_finalize(&q1);
1260 db_finalize(&q2);
1261 style_finish_page();
1262 }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1263

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button