Class GitCacheDirectory

java.lang.Object
com.atlassian.bamboo.plugins.git.GitCacheDirectory

public class GitCacheDirectory extends Object
Class used to handle git cache directory operations.
  • Method Details

    • getCacheDirectoryRoot

      @NotNull public static @NotNull File getCacheDirectoryRoot(@NotNull @NotNull File workingDirectory)
      Parameters:
      workingDirectory -
      Returns:
      the root for all git cache directories.
    • getCacheDirectory

      @NotNull public static @NotNull File getCacheDirectory(@NotNull @NotNull File workingDirectory, @NotNull @NotNull GitRepositoryAccessData repositoryData)
    • getCachePath

      @NotNull public static @NotNull Path getCachePath(@NotNull @NotNull File workingDirectory, @NotNull @NotNull GitRepositoryAccessData repositoryData)
    • getCacheLock

      public static io.atlassian.util.concurrent.ManagedLock getCacheLock(@NotNull @NotNull File cache)