Class DirectoryProvider

java.lang.Object
com.mwdle.bitwarden.cli.DirectoryProvider

public final class DirectoryProvider extends Object
A utility that provides dedicated filesystem directory paths for this plugin's Bitwarden CLI data.
  • Method Details

    • getCliDataDirectory

      @NonNull public static File getCliDataDirectory() throws IOException
      Returns:
      this plugin's Bitwarden CLI data directory, creating it if necessary and caching it for subsequent calls
      Throws:
      IOException - if the parent directory cannot be created
    • getBinDirectory

      @NonNull public static File getBinDirectory() throws IOException
      Returns:
      this plugin's Bitwarden CLI bin directory, creating it if necessary and caching it for subsequent calls
      Throws:
      IOException - if the directory or parent directory cannot be created