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:
Antoine LUCAS
2016-10-04 02:34:10 +08:00
committed by Mohamed Hegazy
parent 011a039389
commit ea667e0fcb
4 changed files with 189 additions and 2 deletions

View File

@@ -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();