1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-24 15:19:26 -05:00
denoland-deno/cli
Bert Belder 9b1997b8b6
core: clearly define when module lookup is path-based vs URL-based
The rules are now as follows:

* In `import` statements, as mandated by the WHATWG specification,
  the import specifier is always treated as a URL.
  If it is a relative URL, it must start with either / or ./ or ../

* A script name passed to deno as a command line argument may be either
  an absolute URL or a local path.
  - If the name starts with a valid URI scheme followed by a colon, e.g.
    'http:', 'https:', 'file:', 'foo+bar:', it always interpreted as a
    URL (even if Deno doesn't support the indicated protocol).
  - Otherwise, the script name is interpreted as a local path. The local
    path may be relative, and operating system semantics determine how
    it is resolved. Prefixing a relative path with ./ is not required.
2019-07-08 13:07:32 +02:00
..
ansi.rs Port code from Cargo and use for progress 2019-06-25 06:32:28 -07:00
BUILD.gn Port code from Cargo and use for progress 2019-06-25 06:32:28 -07:00
build.rs Call ninja directly from build.rs (#2020) 2019-03-30 19:27:00 -04:00
Cargo.toml v0.11.0 2019-07-07 12:17:46 -04:00
compiler.rs core: clearly define when module lookup is path-based vs URL-based 2019-07-08 13:07:32 +02:00
deno_dir.rs Port code from Cargo and use for progress 2019-06-25 06:32:28 -07:00
deno_error.rs core: clearly define when module lookup is path-based vs URL-based 2019-07-08 13:07:32 +02:00
diagnostics.rs Combine CLI Errors (#2487) 2019-06-19 19:07:01 -07:00
dispatch_minimal.rs Combine CLI Errors (#2487) 2019-06-19 19:07:01 -07:00
flags.rs core: clearly define when module lookup is path-based vs URL-based 2019-07-08 13:07:32 +02:00
fmt_errors.rs Combine CLI Errors (#2487) 2019-06-19 19:07:01 -07:00
fs.rs Combine CLI Errors (#2487) 2019-06-19 19:07:01 -07:00
global_timer.rs Fix clippy errors and upgrade Rust to 1.33.0 in CI (#1945) 2019-03-20 18:55:52 -04:00
http_body.rs Rename //src/ to //cli/ (#1962) 2019-03-19 12:18:05 -04:00
http_util.rs Combine CLI Errors (#2487) 2019-06-19 19:07:01 -07:00
import_map.rs core: clearly define when module lookup is path-based vs URL-based 2019-07-08 13:07:32 +02:00
main.rs feat: deno completions command (#2577) 2019-06-26 03:02:13 -07:00
msg.fbs core: clearly define when module lookup is path-based vs URL-based 2019-07-08 13:07:32 +02:00
msg.rs Add progress bar (#2309) 2019-05-11 10:23:19 -04:00
msg_util.rs Combine CLI Errors (#2487) 2019-06-19 19:07:01 -07:00
ops.rs core: clearly define when module lookup is path-based vs URL-based 2019-07-08 13:07:32 +02:00
permissions.rs Port code from Cargo and use for progress 2019-06-25 06:32:28 -07:00
progress.rs Port code from Cargo and use for progress 2019-06-25 06:32:28 -07:00
repl.rs Combine CLI Errors (#2487) 2019-06-19 19:07:01 -07:00
resolve_addr.rs Rename //src/ to //cli/ (#1962) 2019-03-19 12:18:05 -04:00
resources.rs feat: redirect process stdio to file (#2554) 2019-06-21 16:00:14 -07:00
shell.rs Port code from Cargo and use for progress 2019-06-25 06:32:28 -07:00
signal.rs Combine CLI Errors (#2487) 2019-06-19 19:07:01 -07:00
source_maps.rs Combine CLI Errors (#2487) 2019-06-19 19:07:01 -07:00
startup_data.rs Minor tweaks (#2569) 2019-06-23 04:49:49 -07:00
state.rs core: clearly define when module lookup is path-based vs URL-based 2019-07-08 13:07:32 +02:00
tokio_util.rs Fix typo (#2443) 2019-06-02 14:23:36 -04:00
tokio_write.rs Rename //src/ to //cli/ (#1962) 2019-03-19 12:18:05 -04:00
version.rs Rename crate deno_core to deno (#2022) 2019-03-30 19:30:40 -04:00
worker.rs core: clearly define when module lookup is path-based vs URL-based 2019-07-08 13:07:32 +02:00