MCPcopy Create free account
hub / github.com/OffchainLabs/arbitrum-docs / extractItemNameFromPath

Function extractItemNameFromPath

scripts/sync-stylus-content.js:196–198  ·  view source on GitHub ↗

* Extracts the item name (directory name) from a file path * @param {string} filePath - Full file path to page.mdx * @returns {string} Directory name containing the file

(filePath)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

isFileAllowedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected