Class GitCacheDirectory

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

public final 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)
    • getCacheDirectory

      @NotNull public static @NotNull File getCacheDirectory(@NotNull @NotNull File workingDirectory, @NotNull @NotNull GitCacheKey gitCacheKeyComponents)
    • getCachePath

      @NotNull public static @NotNull Path getCachePath(@NotNull @NotNull File workingDirectory, @NotNull @NotNull GitCacheKey gitCacheKeyComponents)
    • getCacheLock

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