You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * Copyright (C) 2015, Sasa Zivkov <sasa.zivkov@sap.com> and others
  3. *
  4. * This program and the accompanying materials are made available under the
  5. * terms of the Eclipse Distribution License v. 1.0 which is available at
  6. * https://www.eclipse.org/org/documents/edl-v10.php.
  7. *
  8. * SPDX-License-Identifier: BSD-3-Clause
  9. */
  10. package org.eclipse.jgit.lfs.server;
  11. /**
  12. * LFS object.
  13. *
  14. * @since 4.5
  15. */
  16. public class LfsObject {
  17. String oid;
  18. long size;
  19. /**
  20. * Get the <code>oid</code> of this object.
  21. *
  22. * @return the object ID.
  23. */
  24. public String getOid() {
  25. return oid;
  26. }
  27. /**
  28. * Get the <code>size</code> of this object.
  29. *
  30. * @return the object size.
  31. */
  32. public long getSize() {
  33. return size;
  34. }
  35. }