MCPcopy
hub / github.com/github/docs / removeFPTFromPath

Function removeFPTFromPath

lib/remove-fpt-from-path.js:7–9  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

5// **user-facing** aspects of the site (particularly URLs) while continuing to support
6// free-pro-team@latest as a version both in the codebase and in content/data files.
7export default function removeFPTFromPath(path) {
8 return slash(path.replace(`/${nonEnterpriseDefaultVersion}`, ''))
9}

Callers 7

currentProductTreeFunction · 0.85
constructorMethod · 0.85
processLinkFunction · 0.85
all-products.jsFile · 0.85
getPageFunction · 0.85
getNewHrefFunction · 0.85
pages.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected