Class GitCacheDirectoryUtils

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

@Component public class GitCacheDirectoryUtils extends Object
Utilities for handling operations on the git cache directory.
Since:
2.6
  • Constructor Details

    • GitCacheDirectoryUtils

      public GitCacheDirectoryUtils()
  • Method Details

    • deleteCacheDirectoriesExcept

      public void deleteCacheDirectoriesExcept(File baseCacheDirectory, Collection<String> dirs)
    • deleteCacheDirectories

      public void deleteCacheDirectories(File baseCacheDirectory, Collection<String> dirs)