diff options
author | David Pursehouse <david.pursehouse@gmail.com> | 2017-01-13 10:54:04 +0900 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2017-01-13 19:23:33 -0400 |
commit | 56fe21778400195af2f6287f4894593edf305bd9 (patch) | |
tree | ea1e87557788915ecbb5c0dfc54bc52296d10dae /org.eclipse.jgit.lfs | |
parent | 590141163fd312bedd8594cf87f82812986d09b6 (diff) | |
download | jgit-56fe21778400195af2f6287f4894593edf305bd9.tar.gz jgit-56fe21778400195af2f6287f4894593edf305bd9.zip |
Expose LFS operation strings as public constants
So that they can be used either by third party LFS server implementations
or from within other parts of JGit's internal LFS implementation.
Change-Id: I58da6230247204588e017c010ce5b14e4615448d
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Diffstat (limited to 'org.eclipse.jgit.lfs')
-rw-r--r-- | org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/lib/Constants.java | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/lib/Constants.java b/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/lib/Constants.java index a88057afce..0220743724 100644 --- a/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/lib/Constants.java +++ b/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/lib/Constants.java @@ -87,6 +87,27 @@ public final class Constants { * 2; /** + * LFS upload operation. + * + * @since 4.7 + */ + public static final String UPLOAD = "upload"; + + /** + * LFS download operation. + * + * @since 4.7 + */ + public static final String DOWNLOAD = "download"; + + /** + * LFS verify operation. + * + * @since 4.7 + */ + public static final String VERIFY = "verify"; + + /** * Create a new digest function for objects. * * @return a new digest object. |