Skip to content

Ditch import hashes #77

@ahmetcanaksu

Description

@ahmetcanaksu
#[derive(Default, Debug)]
pub struct ResolvedImport {
    pub found: bool,
    pub resolve_error: String,
    pub hash: usize, //Here
    pub path: String,
    pub matched: ImportType,
}

Hashes are unique identifiers used on pages and dependencies, we can use the page length instead this way no random number generator library or hasher would be required.

Metadata

Metadata

Assignees

Labels

embeddedA issue, request or need in embedded environment

Type

No type

Projects

Status

Todo

Relationships

None yet

Development

No branches or pull requests

Issue actions