This file is indexed.

/usr/share/doc/node-fstream/examples/symlink-write.js is in node-fstream 0.1.24-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
var fstream = require("../fstream.js")
  , closed = false

fstream
  .Writer({ path: "path/to/symlink"
          , linkpath: "./file"
          , isSymbolicLink: true
          , mode: "0755" // octal strings supported
          })
  .on("close", function () {
    closed = true
    var fs = require("fs")
    var s = fs.lstatSync("path/to/symlink")
    var isSym = s.isSymbolicLink()
    console.log((isSym?"":"not ") +"ok 1 should be symlink")
    var t = fs.readlinkSync("path/to/symlink")
    var isTarget = t === "./file"
    console.log((isTarget?"":"not ") +"ok 2 should link to ./file")
  })
  .end()

process.on("exit", function () {
  console.log((closed?"":"not ")+"ok 3 should be closed")
})