Difference between revisions of "Template:Src"

From GRASS-Wiki
Jump to: navigation, search
m
(Template: update versions)
 
Line 5: Line 5:
 
or
 
or
  
  <nowiki>{{src|path/filename.c|branch=branches/develbranch_6}}</nowiki>
+
  <nowiki>{{src|path/filename.c|branch=branches/releasebranch_7_6}}</nowiki>
  
The default branch is currently set to ''trunk'' (GRASS 7)
+
The default is currently set to ''trunk'' (GRASS 7)
* for GRASS 6.5 use <tt>branches/develbranch_6</tt>
+
* for GRASS 7.4.svn use <tt>branches/releasebranch_7_4</tt>
* for GRASS 6.4 use <tt>branches/releasebranch_6_4</tt>
+
* for GRASS 7.6.svn use <tt>branches/releasebranch_7_6</tt>
  
 
For example
 
For example

Latest revision as of 04:36, 18 January 2019

GRASS Trac SVN source code browser semi-external link. Usage:

{{src|path/filename.c}}

or

{{src|path/filename.c|branch=branches/releasebranch_7_6}}

The default is currently set to trunk (GRASS 7)

  • for GRASS 7.4.svn use branches/releasebranch_7_4
  • for GRASS 7.6.svn use branches/releasebranch_7_6

For example

{{src|raster/r.info/main.c}}

creates

raster/r.info/main.c