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

Function extractSectionFromPath

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

* Extracts section name from a file path relative to source directory * @param {string} filePath - Full file path * @returns {string|null} Section name ('basic_examples' or 'applications') or null

(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