Fossil SCM

Add a warning to /jchunk that it is an internal-use-only interface that is likely to change in the future.

drh 2021-09-08 18:25 diff-js-refactoring
Commit 1da4b6c7522eb195f7ede69a9504005c5f42bd6d9aec72aae7b40ff45bcd9733
1 file changed +5
+5
--- src/info.c
+++ src/info.c
@@ -1887,10 +1887,15 @@
18871887
** WEBPAGE: jchunk hidden
18881888
** URL: /jchunk/HASH?from=N&to=M
18891889
**
18901890
** Return lines of text from a file as a JSON array - one entry in the
18911891
** array for each line of text.
1892
+**
1893
+** **Warning:** This is an internal-use-only interface that is subject to
1894
+** change at any moment. External application should not use this interface
1895
+** since the application will break when this interface changes, and this
1896
+** interface will undoubtedly change.
18921897
**
18931898
** This page is intended to be used in an XHR from javascript on a diff
18941899
** page, to return unseen context to fill in additional context when the
18951900
** user clicks on the appropriate button.
18961901
*/
18971902
--- src/info.c
+++ src/info.c
@@ -1887,10 +1887,15 @@
1887 ** WEBPAGE: jchunk hidden
1888 ** URL: /jchunk/HASH?from=N&to=M
1889 **
1890 ** Return lines of text from a file as a JSON array - one entry in the
1891 ** array for each line of text.
 
 
 
 
 
1892 **
1893 ** This page is intended to be used in an XHR from javascript on a diff
1894 ** page, to return unseen context to fill in additional context when the
1895 ** user clicks on the appropriate button.
1896 */
1897
--- src/info.c
+++ src/info.c
@@ -1887,10 +1887,15 @@
1887 ** WEBPAGE: jchunk hidden
1888 ** URL: /jchunk/HASH?from=N&to=M
1889 **
1890 ** Return lines of text from a file as a JSON array - one entry in the
1891 ** array for each line of text.
1892 **
1893 ** **Warning:** This is an internal-use-only interface that is subject to
1894 ** change at any moment. External application should not use this interface
1895 ** since the application will break when this interface changes, and this
1896 ** interface will undoubtedly change.
1897 **
1898 ** This page is intended to be used in an XHR from javascript on a diff
1899 ** page, to return unseen context to fill in additional context when the
1900 ** user clicks on the appropriate button.
1901 */
1902

Keyboard Shortcuts

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