fix "contigious-file" => "contiguous-file" typo
This commit is contained in:
parent
2332d878a6
commit
2b8ca04d49
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.
|
mtime: new Date(), // last modified date for entry. defaults to now.
|
||||||
type: 'file', // type of entry. defaults to file. can be:
|
type: 'file', // type of entry. defaults to file. can be:
|
||||||
// file | link | symlink | directory | block-device
|
// file | link | symlink | directory | block-device
|
||||||
// character-device | fifo | contigious-file
|
// character-device | fifo | contiguous-file
|
||||||
linkname: 'path', // linked file name
|
linkname: 'path', // linked file name
|
||||||
uid: 0, // uid of entry owner. defaults to 0
|
uid: 0, // uid of entry owner. defaults to 0
|
||||||
gid: 0, // gid 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)
|
this._encode(header)
|
||||||
|
|
||||||
if (header.type !== 'file' && header.type !== 'contigious-file') {
|
if (header.type !== 'file' && header.type !== 'contiguous-file') {
|
||||||
process.nextTick(callback)
|
process.nextTick(callback)
|
||||||
return new Void()
|
return new Void()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue