Class ChefZero::DataStore::InterfaceV1
In: lib/chef_zero/data_store/interface_v1.rb
Parent: Object

Methods

clear   create   create_dir   delete   delete_dir   exists?   exists_dir?   get   interface_version   list   set  

Public Instance methods

Create a file. options is a list of symbols, including:

  :create_dir - create any parents needed

Create a directory. options is a list of symbols, including:

  :recursive - create any parents needed

Delete a file.

Delete a directory. options is a list of symbols, including:

  :recursive - delete even if empty

Check a file‘s existence.

Check a directory‘s existence.

List a directory.

Set a file‘s value. options is a list of symbols, including:

   :create - create the file if it does not exist
   :create_dir - create the directory if it does not exist

[Validate]