getDataEntryId() — astro Function Reference
Architecture documentation for the getDataEntryId() function in utils.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 90d02dad_e410_0ee4_8314_e758fde35b04["getDataEntryId()"] 7a09e708_c090_71c0_8138_7343699b1865["utils.ts"] 90d02dad_e410_0ee4_8314_e758fde35b04 -->|defined in| 7a09e708_c090_71c0_8138_7343699b1865 37024835_7752_ff66_8c2b_7bd53013a0a9["getRelativeEntryPath()"] 90d02dad_e410_0ee4_8314_e758fde35b04 -->|calls| 37024835_7752_ff66_8c2b_7bd53013a0a9 style 90d02dad_e410_0ee4_8314_e758fde35b04 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/content/utils.ts lines 345–357
export function getDataEntryId({
entry,
contentDir,
collection,
}: Pick<ContentPaths, 'contentDir'> & { entry: URL; collection: string }): string {
const relativePath = getRelativeEntryPath(entry, collection, contentDir);
const withoutFileExt = normalizePath(relativePath).replace(
new RegExp(path.extname(relativePath) + '$'),
'',
);
return withoutFileExt;
}
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does getDataEntryId() do?
getDataEntryId() is a function in the astro codebase, defined in packages/astro/src/content/utils.ts.
Where is getDataEntryId() defined?
getDataEntryId() is defined in packages/astro/src/content/utils.ts at line 345.
What does getDataEntryId() call?
getDataEntryId() calls 1 function(s): getRelativeEntryPath.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free