Merge pull request #51 from chpio/contiguous-typo
fix "contigious-file" => "contiguous-file" typo
This commit is contained in:
commit
28c572c584
2 changed files with 2 additions and 2 deletions
|
@ -87,7 +87,7 @@ Most of these values can be found by stat'ing a file.
|
|||
mtime: new Date(), // last modified date for entry. defaults to now.
|
||||
type: 'file', // type of entry. defaults to file. can be:
|
||||
// file | link | symlink | directory | block-device
|
||||
// character-device | fifo | contigious-file
|
||||
// character-device | fifo | contiguous-file
|
||||
linkname: 'path', // linked file name
|
||||
uid: 0, // uid of entry owner. defaults to 0
|
||||
gid: 0, // gid of entry owner. defaults to 0
|
||||
|
|
2
pack.js
2
pack.js
|
@ -152,7 +152,7 @@ Pack.prototype.entry = function (header, buffer, callback) {
|
|||
|
||||
this._encode(header)
|
||||
|
||||
if (header.type !== 'file' && header.type !== 'contigious-file') {
|
||||
if (header.type !== 'file' && header.type !== 'contiguous-file') {
|
||||
process.nextTick(callback)
|
||||
return new Void()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue