mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-21 08:33:26 +08:00
Added the definition for the npm package simple-url-cache (#11296)
* Added the definition for the npm package simple-url-cache https://www.npmjs.com/package/simple-url-cache * - Some problems with shells.js missing the touch fucntion deifnition * More details on the touch parameters - nice screenshot btw
This commit is contained in:
committed by
Mohamed Hegazy
parent
011a039389
commit
ea667e0fcb
@@ -119,6 +119,21 @@ shell.chmod("u+x", "/Users/brandon");
|
||||
|
||||
shell.exit(0);
|
||||
|
||||
shell.touch('/Users/brandom/test1');
|
||||
shell.touch('/Users/brandom/test1', '/Users/brandom/test2');
|
||||
|
||||
shell.touch(['/Users/brandom/test1']);
|
||||
shell.touch(['/Users/brandom/test1', '/Users/brandom/test2']);
|
||||
|
||||
shell.touch('-c', '/Users/brandom/test1');
|
||||
shell.touch('-c', '/Users/brandom/test1', '/Users/brandom/test2');
|
||||
shell.touch('-c', ['/Users/brandom/test1', '/Users/brandom/test2']);
|
||||
|
||||
shell.touch({ '-r': '/some/file.txt' }, '/Users/brandom/test1');
|
||||
shell.touch({ '-r': '/some/file.txt' }, '/Users/brandom/test1', '/Users/brandom/test2');
|
||||
shell.touch({ '-r': '/oome/file.txt' }, ['/Users/brandom/test1', '/Users/brandom/test2']);
|
||||
|
||||
|
||||
var tmp = shell.tempdir(); // "/tmp" for most *nix platforms
|
||||
|
||||
var errorlol = shell.error();
|
||||
|
||||
Reference in New Issue
Block a user