Skip to content

Latest commit

 

History

History
42 lines (34 loc) · 1.19 KB

README.md

File metadata and controls

42 lines (34 loc) · 1.19 KB

harbor

Containerizing application environment for ComputerCraft.

Installation:

For the standalone harbor API: pastebin run ivRuuLSH

For the harbor API and a kit of tools to use it with: pastebin run ivRuuLSH extras

API Usage:

mountTable: creates a fs API bound to the Harbor VFS tree passed in

  • Parameters
    • table: HVFS tree
  • Returns
    • table: filesystem API

mountString: creates a fs API bound to the serialized HVFS tree passed in

  • Parameters
    • string: serialized HVFS tree
  • Returns
    • table: filesystem API

mountFile: creates a fs API bound to the HVFS tree contained in the file passed in

  • Parameters
    • string: path to a file containing a HVFS tree
  • Returns
    • table: filesystem API

convert: generates a HVFS tree with the root starting at the path passed in

  • Parameters
    • string: path to directory to be converted
  • Returns
    • table: HVFS tree

revert: takes a fs API tied to a harbor object and converts it into a directory structure with the root being the path

  • Parameters
    • table: Harbor fs API
    • string: Path to dump contents
  • Returns
    • boolean: Whether the operation succeeded or not