[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] Determining symlink target

On Fri, Nov 30, 2012 at 2:16 PM,  <james.moger@xxxxxxxxxxx> wrote:
> I have two Gitblit issues I am working on where I need to be able to
> determine the target of a symlink.  I have not successfully figured out
> how I can get that info from the API for tree entries that are
> FileMode.SYMLINK.

The ObjectId is a blob. Read the contents of the blob. That is the
symlink target.