Skip to content
Ezra edited this page Mar 23, 2015 · 3 revisions

Package - A rice(collection of config files for a program) with metadata

  • init(program, rice) - Initialized with a program name and rice name
  • Functions:
    1. Swap_in - Uses package metadata to move rice files to correct locations
    2. Swap_out - Uses package metadata to move rice files from installed locations to the .rdb/[program]/[rice]/

Query - A search of the index server for a rice

  • init(search term(s))
  • query.result - list of jsons that will be created from a search to the package server

Download/Unzip - A Class or static method for obtaining a package from a server

  • init or argument - URL, program name, rice name
  • Functions:
    1. Download - Downlads the zipped package from the given url
    2. Unzip - Unzips the downloaded package into .rdb/[program name]/ in the folder [rice name]

Clone this wiki locally