Example usage for org.eclipse.jgit.lib FileMode TYPE_SYMLINK

List of usage examples for org.eclipse.jgit.lib FileMode TYPE_SYMLINK

Introduction

In this page you can find the example usage for org.eclipse.jgit.lib FileMode TYPE_SYMLINK.

Prototype

int TYPE_SYMLINK

To view the source code for org.eclipse.jgit.lib FileMode TYPE_SYMLINK.

Click Source Link

Document

Bit pattern for #TYPE_MASK matching #SYMLINK .

Usage

From source file:com.googlesource.gerrit.plugins.uploadvalidator.SymlinkValidator.java

License:Apache License

private static boolean isSymLink(TreeWalk tw) {
    return (tw.getRawMode(0) & FileMode.TYPE_MASK) == FileMode.TYPE_SYMLINK;
}