Class Directory

java.lang.Object
repository.Directory
Direct Known Subclasses:
Snapshot

public class Directory extends Object
Stores data about a directory when it was backed up. Used only for restoring
  • Field Details

    • name

      public String name
      The name of the directory. Saved so it can be restored on restore
    • files

      public List<File> files
      Stores the files inside the directory as list with name and unencrypted hash
    • directories

      public List<Directory> directories
      All the directories that were inside this directory when it was backed up
  • Constructor Details

    • Directory

      public Directory()
    • Directory

      public Directory(String name)
  • Method Details