This website requires JavaScript.
Explore
Help
Sign In
TryGhost
/
Ghost
Watch
1
Star
0
Fork
0
You've already forked Ghost
mirror of
https://github.com/TryGhost/Ghost.git
synced
2024-12-24 19:33:02 +03:00
Code
Issues
Projects
Releases
Wiki
Activity
1a0436b540
Ghost
/
ghost
/
zip
/
index.js
5 lines
101 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Updated paths & tests to work in new pkg structure - added export to index.js - fixed all paths to match the new structure - replaced should with testUtils - moved code from describe block into before
2020-03-20 19:35:13 +03:00
module
.
exports
=
{
Consistent interface and response - Creating a better, more long-term API here - compress and extract are opposite, neat terms - Use new Promise to get rid of callback argument when using archiver to compress a folder - Add options argument, and make a couple of key details configurable - Make the response intelligable - Ensure both functions are consistent - Updated tests to match
2020-04-07 11:53:28 +03:00
extract
:
require
(
'./lib/extract'
)
,
compress
:
require
(
'./lib/compress'
)
Updated paths & tests to work in new pkg structure - added export to index.js - fixed all paths to match the new structure - replaced should with testUtils - moved code from describe block into before
2020-03-20 19:35:13 +03:00
}
;
Reference in New Issue
Copy Permalink