summaryrefslogtreecommitdiff
path: root/cli/fs.rs
AgeCommit message (Collapse)Author
2019-09-10Don't test resolve_from_cwd_absolute() on Windows (#2911)Nayeem Rahman
2019-09-07Fix path normalization in resolve_from_cwd() (#2875)Nayeem Rahman
2019-07-31Use system rustfmt instead of fixed binary (#2701)Ryan Dahl
2019-07-17Refactor DenoDir (#2636)Bartek IwaƄczuk
* rename `ModuleMetaData` to `SourceFile` and remove TS specific functionality * add `TsCompiler` struct encapsulating processing of TypeScript files * move `SourceMapGetter` trait implementation to `//cli/compiler.rs` * add low-level `DiskCache` API for general purpose caches and use it in `DenoDir` and `TsCompiler` for filesystem access * don't use hash-like filenames for compiled modules, instead use metadata file for storing compilation hash * add `SourceFileCache` for in-process caching of loaded files for fast subsequent access * define `SourceFileFetcher` trait encapsulating loading of local and remote files and implement it for `DenoDir` * define `use_cache` and `no_fetch` flags on `DenoDir` instead of using in fetch methods
2019-07-11Refactor error to use dynamic dispatch and traitsBert Belder
This is in preperation for dynamic import (#1789), which is more easily implemented when errors are dynamic.
2019-06-19Combine CLI Errors (#2487)Kitson Kelly
2019-05-07Add Deno.chown (#2292)Yingbo (Max) Wang
2019-03-19Rename //src/ to //cli/ (#1962)Ryan Dahl
To better distinguish the deno_core crate from the executable deno, which will now be called "the cli" internally.