mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 20:29:11 +00:00

Some checks are pending
ci / build libs (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
Extracts out a `PreparedModuleLoader` from the cli's `ModuleLoader`. This is specific to loading from the `ModuleGraph`.
15 lines
286 B
Rust
15 lines
286 B
Rust
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
|
|
pub enum RequestedModuleType<'a> {
|
|
None,
|
|
Json,
|
|
Text,
|
|
Bytes,
|
|
Other(&'a str),
|
|
}
|
|
|
|
#[cfg(all(feature = "graph", feature = "deno_ast"))]
|
|
mod prepared;
|
|
|
|
#[cfg(all(feature = "graph", feature = "deno_ast"))]
|
|
pub use prepared::*;
|