Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
upd docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rkrasiuk committed Jan 7, 2022
1 parent f33b5c2 commit 1742630
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ethers-solc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ impl<Artifacts: ArtifactOutput> Project<Artifacts> {
Ok(())
}

// Flatten all file imports into a single string
/// Flatten all file imports into a single string
pub fn flatten(&self, target: &PathBuf) -> Result<String> {
tracing::trace!("flattening file");
let graph = Graph::resolve(&self.paths)?;
Expand Down
1 change: 1 addition & 0 deletions ethers-solc/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ pub fn canonicalize(path: impl AsRef<Path>) -> Result<PathBuf, SolcIoError> {
dunce::canonicalize(&path).map_err(|err| SolcIoError::new(err, path))
}

/// Try to resolve import to a local file or library path
pub fn resolve_import_component(
import: &PathBuf,
node_dir: &Path,
Expand Down

0 comments on commit 1742630

Please sign in to comment.