1 var tar = require("../tar.js")
4 fs.createReadStream(__dirname + "/../test/fixtures/c.tar")
6 .on("extendedHeader", function (e) {
7 console.error("extended pax header", e.props)
8 e.on("end", function () {
9 console.error("extended pax fields:", e.fields)
12 .on("ignoredEntry", function (e) {
13 console.error("ignoredEntry?!?", e.props)
15 .on("longLinkpath", function (e) {
16 console.error("longLinkpath entry", e.props)
17 e.on("end", function () {
18 console.error("value=%j", e.body.toString())
21 .on("longPath", function (e) {
22 console.error("longPath entry", e.props)
23 e.on("end", function () {
24 console.error("value=%j", e.body.toString())
27 .on("entry", function (e) {
28 console.error("entry", e.props)
29 e.on("data", function (c) {
30 console.error(" >>>" + c.toString().replace(/\n/g, "\\n"))
32 e.on("end", function () {
33 console.error(" <<<EOF")