Package floobits.common.jgit.ignore

Examples of floobits.common.jgit.ignore.IgnoreRule


    private final IgnoreNode ignoreNode = new IgnoreNode();

    public static Ignore BuildIgnore(IFile virtualFile) {
        Ignore ig = new Ignore(virtualFile);
        // TODO: add more hard-coded ignores
        ig.ignoreNode.addRule(new IgnoreRule(".idea/workspace.xml"));
        ig.ignoreNode.addRule(new IgnoreRule(".idea/misc.xml"));
        ig.ignoreNode.addRule(new IgnoreRule(".git"));
        ig.ignoreNode.addRule(new IgnoreRule(".svn"));
        ig.ignoreNode.addRule(new IgnoreRule(".hg"));
        ig.recurse(ig, virtualFile.getPath());
        return ig;
    }
View Full Code Here

TOP

Related Classes of floobits.common.jgit.ignore.IgnoreRule

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.