Package rcmd provides helper functions containing the logic of various root-xyz commands.
Copy copies the content of the ROOT files fnames into the output ROOT file named oname.
Diff compares the values of the list of keys between the two provided ROOT files. Diff writes the differing data (if any) to w.
if w is nil, os.Stdout is used. if the slice of keys is nil, all keys are considered.
Dump dumps the content of the fname ROOT file to the provided io.Writer. If deep is true, Dump will recursively inspect directories and trees. Dump only display the content of ROOT objects satisfying the provided filter function.
If filter is nil, Dump will consider all ROOT objects.
Merge merges all input fnames ROOT files into the output oname one.
Split splits the tree from the input file into multiple trees, each with nevts entries. Split returns the name of the split output files, and an error, if any.