Skip to main content

import_sites

Function import_sites 

Source
pub fn import_sites(
    conn: &Connection,
    name: &str,
    path_filter: Option<&str>,
) -> Result<Vec<(String, usize)>, QueryError>
Expand description

The import statements of the top-level definition name (under path_filter when given): an import row with that name whose source module names a folder or file on the definition’s path. A relative JavaScript or TypeScript source (./helpers/parseUtil) must name the definition’s file, so a mirror copy elsewhere (deno/lib/helpers/parseUtil.ts) does not count. find_references lists calls and type uses, so these go in a summary line after them.