Fossil SCM

doc improvement.

stephan 2014-05-14 16:53 UTC wiki-keep-mimetype
Commit e1a0de75756eb10592a01cd166c22ac6256f78f8
1 file changed +4
+4
--- src/wiki.c
+++ src/wiki.c
@@ -955,10 +955,14 @@
955955
** given by the zPageName parameter. isNew must be true to create
956956
** a new page. If no previous page with the name zPageName exists
957957
** and isNew is false, then this routine throws an error.
958958
**
959959
** The content of the new page is given by the blob pContent.
960
+**
961
+** zMimeType specifies the N-card for the wiki page. If it is 0,
962
+** empty, or "text/x-fossil-wiki" (the default format) then it is
963
+** ignored.
960964
*/
961965
int wiki_cmd_commit(char const * zPageName, int isNew, Blob *pContent,
962966
char const * zMimeType){
963967
Blob wiki; /* Wiki page content */
964968
Blob cksum; /* wiki checksum */
965969
--- src/wiki.c
+++ src/wiki.c
@@ -955,10 +955,14 @@
955 ** given by the zPageName parameter. isNew must be true to create
956 ** a new page. If no previous page with the name zPageName exists
957 ** and isNew is false, then this routine throws an error.
958 **
959 ** The content of the new page is given by the blob pContent.
 
 
 
 
960 */
961 int wiki_cmd_commit(char const * zPageName, int isNew, Blob *pContent,
962 char const * zMimeType){
963 Blob wiki; /* Wiki page content */
964 Blob cksum; /* wiki checksum */
965
--- src/wiki.c
+++ src/wiki.c
@@ -955,10 +955,14 @@
955 ** given by the zPageName parameter. isNew must be true to create
956 ** a new page. If no previous page with the name zPageName exists
957 ** and isNew is false, then this routine throws an error.
958 **
959 ** The content of the new page is given by the blob pContent.
960 **
961 ** zMimeType specifies the N-card for the wiki page. If it is 0,
962 ** empty, or "text/x-fossil-wiki" (the default format) then it is
963 ** ignored.
964 */
965 int wiki_cmd_commit(char const * zPageName, int isNew, Blob *pContent,
966 char const * zMimeType){
967 Blob wiki; /* Wiki page content */
968 Blob cksum; /* wiki checksum */
969

Keyboard Shortcuts

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