MCPcopy Create free account
hub / github.com/decaporg/decap-cms / isAbsolutePath

Function isAbsolutePath

packages/decap-cms-lib-util/src/path.ts:7–10  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

5}
6
7export function isAbsolutePath(path: string) {
8 const result = absolutePath.test(path);
9 return result;
10}
11
12/**
13 * Return the last portion of a path. Similar to the Unix basename command.

Callers 4

getAssetFunction · 0.90
selectMediaFilePathFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected