Skip to main content

Module editor

Module editor 

Source
Expand description

Launch the bundled VS Code client without requiring a Foundry checkout.

Re-exportsยง

use alloy_primitives::Keccak256; ๐Ÿ”’
use alloy_primitives::keccak256; ๐Ÿ”’
use eyre::Context; ๐Ÿ”’
use eyre::Result; ๐Ÿ”’
use eyre::ensure; ๐Ÿ”’
use eyre::eyre; ๐Ÿ”’
use flate2::read::GzDecoder; ๐Ÿ”’
use foundry_common::fs::canonicalize_path; ๐Ÿ”’
use foundry_config::Config; ๐Ÿ”’
use std::fs; ๐Ÿ”’
use std::io; ๐Ÿ”’
use std::io::Write; ๐Ÿ”’
use std::path::Path; ๐Ÿ”’
use std::path::PathBuf; ๐Ÿ”’
use std::process::Command; ๐Ÿ”’
use std::process::Stdio; ๐Ÿ”’
use std::os::unix::fs::DirBuilderExt; ๐Ÿ”’ Unix
use std::os::unix::fs::MetadataExt; ๐Ÿ”’ Unix
use std::os::unix::fs::PermissionsExt; ๐Ÿ”’ Unix

Constantsยง

ASSETS ๐Ÿ”’
CLIENT ๐Ÿ”’

Functionsยง

create_private_dir ๐Ÿ”’ Unix
default_code_path ๐Ÿ”’
launch ๐Ÿ”’
prepare_extension ๐Ÿ”’
vscode_session_dir ๐Ÿ”’
vscode_session_link ๐Ÿ”’ Unix