"Fossies" - the Fresh Open Source Software Archive

Member "Atom/resources/app/apm/node_modules/tar/lib/global-header-writer.js" (8 Mar 2017, 388 Bytes) of archive /windows/misc/atom-windows.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Javascript source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 module.exports = GlobalHeaderWriter
    2 
    3 var ExtendedHeaderWriter = require("./extended-header-writer.js")
    4   , inherits = require("inherits")
    5 
    6 inherits(GlobalHeaderWriter, ExtendedHeaderWriter)
    7 
    8 function GlobalHeaderWriter (props) {
    9   if (!(this instanceof GlobalHeaderWriter)) {
   10     return new GlobalHeaderWriter(props)
   11   }
   12   ExtendedHeaderWriter.call(this, props)
   13   this.props.type = "g"
   14 }