Bert Belder
f5b40c918c
refactor: use the 'anyhow' crate instead of 'ErrBox' ( #7476 )
2020-09-15 01:50:52 +02:00
Bert Belder
3da20d19a1
chore: fix clippy warnings ( #7476 )
2020-09-15 00:11:20 +02:00
Ryan Dahl
7d01fcbb77
Remove unnecessary drop calls ( #7007 )
2020-08-10 17:31:05 -04:00
Valentin Anger
db36857288
refactor: util functions take slices instead of heap values ( #6547 )
2020-06-29 14:17:37 +02:00
Bartek Iwańczuk
e934df5f7d
fix: create HTTP cache lazily ( #5795 )
2020-05-24 19:20:40 +02:00
Bartek Iwańczuk
89fe81168e
fix: panic if $DENO_DIR is a relative path ( #5375 )
...
This commit fixes panic occurring if $DENO_DIR is set to a relative
path, eg. "DENO_DIR=denodir deno run main.ts".
Before creating DenoDir instance given path is checked and if necessary
resolved against current working directory.
Additional sanity checks were put in place to ensure all caches
receive absolute path for the location.
2020-05-15 16:32:52 +02:00
Yoshiya Hinosawa
dabe88f854
fix(deno_dir): better error message ( #5120 )
...
Add better error messages when a cache subdirectory in
`DENO_DIR` cannot be created.
2020-05-07 14:32:57 +02:00
Ryan Dahl
0099c28db3
http_cache: change .headers.json to .metadata.json ( #4175 )
...
Add original URL to metadata. This is so the VS Code Plugin can reverse
look up the URL for cache entries. Ref #4069 .
2020-02-28 13:15:31 -05:00
Bartek Iwańczuk
852823fa50
refactor: rewrite HTTP cache for file fetcher ( #4030 )
2020-02-19 08:17:13 -05:00