/** * Adds given hash to an index file * * @param $stackName Name of stack to add hash * @param $data Hash and gap position to be added to the index * @return void */ function addHashToIndex ($stackName, array $data);