Interface GitSCMFileSystem.FSFunction<V>

Type Parameters:
V - the return type
Enclosing class:
GitSCMFileSystem

public static interface GitSCMFileSystem.FSFunction<V>
Simple callback that is used with GitSCMFileSystem.invoke(jenkins.plugins.git.GitSCMFileSystem.FSFunction) in order to provide a locked view of the Git repository
  • Method Summary

    Modifier and Type
    Method
    Description
    invoke(org.eclipse.jgit.lib.Repository repository)
    Called with a lock on the repository in order to perform some operations that might result in changes and necessary re-indexing