From 4e3c152fa7e97200855ba0d2716362dbe7976920 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Fri, 04 Jan 2013 17:23:23 -0500 Subject: [PATCH] Support local accounts with LdapUserService and RedmineUserService (issue-183) --- src/com/gitblit/models/PathModel.java | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/com/gitblit/models/PathModel.java b/src/com/gitblit/models/PathModel.java index 8692359..84571cb 100644 --- a/src/com/gitblit/models/PathModel.java +++ b/src/com/gitblit/models/PathModel.java @@ -48,6 +48,10 @@ this.commitId = commitId; } + public boolean isSymlink() { + return FileMode.SYMLINK.equals(mode); + } + public boolean isSubmodule() { return FileMode.GITLINK.equals(mode); } -- Gitblit v1.9.1