Template:Src
Jump to navigation
Jump to search
Usage
Link to the source for a file in git.
Parameters
- First parameter (or named
fileparameter) is the full path to the filename starting from the root of the repo, eg.Automate-3.0/AutomateInstaller.vb - Second parameter (or named
branchparameter) is the branch (or commit id) to link to (default:master) - Third parameter (or named
repoparameter) is the git repo to link to (default:automate) - Fourth parameter (or named
lineparameter) is the line number to link to (default: none)
Examples
Some examples using all four parameters
{{src|Automate-3.0/AutomateInstaller.vb}}
gives:
{{src|BPCoreLib/Collections/CollectionUtil.vb|v5.0}}
gives:
{{src|file=MAPIEx/MAPIMessage.cpp|repo=mapiex}}
gives:
{{src|Automate-3.0/AutomateAppCore/clsServerPartialClasses/clsServerCredentials.vb|b6d298f1|line=171}}
gives: