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

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

Introduction

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

Prototype

int TYPE_GITLINK

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

Click Source Link

Document

Bit pattern for #TYPE_MASK matching #GITLINK .

Usage

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

License:Apache License

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