Package com.gitblit.utils.JGitUtils

Examples of com.gitblit.utils.JGitUtils.LastChange


   * @param model
   * @return size in bytes of the repository
   */
  @Override
  public long updateLastChangeFields(Repository r, RepositoryModel model) {
    LastChange lc = JGitUtils.getLastChange(r);
    model.lastChange = lc.when;
    model.lastChangeAuthor = lc.who;

    if (!settings.getBoolean(Keys.web.showRepositorySizes, true) || model.skipSizeCalculation) {
      model.size = null;
View Full Code Here


   * @param model
   * @return size in bytes of the repository
   */
  @Override
  public long updateLastChangeFields(Repository r, RepositoryModel model) {
    LastChange lc = JGitUtils.getLastChange(r);
    model.lastChange = lc.when;
    model.lastChangeAuthor = lc.who;

    if (!settings.getBoolean(Keys.web.showRepositorySizes, true) || model.skipSizeCalculation) {
      model.size = null;
View Full Code Here

TOP

Related Classes of com.gitblit.utils.JGitUtils.LastChange

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.