diff --git a/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/LfsObject.java b/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/LfsObject.java index 30ba22e88..bd6602019 100644 --- a/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/LfsObject.java +++ b/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/LfsObject.java @@ -42,7 +42,25 @@ */ package org.eclipse.jgit.lfs.server; -class LfsObject { +/** + * LFS object. + * + */ +public class LfsObject { String oid; long size; + + /** + * @return the object ID. + */ + public String getOid() { + return oid; + } + + /** + * @return the object size. + */ + public long getSize() { + return size; + } } diff --git a/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/LfsProtocolServlet.java b/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/LfsProtocolServlet.java index c38f56754..fdd864903 100644 --- a/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/LfsProtocolServlet.java +++ b/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/LfsProtocolServlet.java @@ -117,6 +117,15 @@ public abstract class LfsProtocolServlet extends HttpServlet { public String getOperation() { return operation; } + + /** + * Get the LFS objects. + * + * @return the objects + */ + public List getObjects() { + return objects; + } } @Override