This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Parses an un-ordered CSV file with the following structure: | |
* parent_node name, parent_node id, node name, node id | |
* | |
* .. and populates a Node tree which is then walked over to pretty print. | |
*/ | |
@Grab(group='net.sf.opencsv', module='opencsv', version='2.3') | |
import au.com.bytecode.opencsv.CSVReader; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'rubygems/package' | |
require 'zlib' | |
require 'fileutils' | |
module Util | |
module Tar | |
# Creates a tar file in memory recursively | |
# from the given path. | |
# |