Cutwater

Cutwater

  • Docs
  • Help
  • GitHub

BuildUtils

@codification/cutwater-build-core > BuildUtils

Class

Hierarchy

BuildUtils

Methods

  • createDirectoryPath
  • createFilePath
  • toPath
  • toPathElements
  • toSimplePackageName

Methods

<Static> createDirectoryPath

▸ createDirectoryPath(dirPath: string): void

Defined in BuildUtils.ts:27

Parameters:

NameType
dirPathstring

Returns: void


<Static> createFilePath

▸ createFilePath(filePath: string): void

Defined in BuildUtils.ts:39

Parameters:

NameType
filePathstring

Returns: void


<Static> toPath

▸ toPath(filePath: string[], maxElements?: undefined | number): string

Defined in BuildUtils.ts:18

Parameters:

NameType
filePathstring[]
Optional maxElementsundefined \number

Returns: string


<Static> toPathElements

▸ toPathElements(filePath: string): string[]

Defined in BuildUtils.ts:14

Parameters:

NameType
filePathstring

Returns: string[]


<Static> toSimplePackageName

▸ toSimplePackageName(packageName: string): string

Defined in BuildUtils.ts:5

Parameters:

NameType
packageNamestring

Returns: string


  • Class
  • Hierarchy
    • Methods
  • Methods
    • `` createDirectoryPath
    • `` createFilePath
    • `` toPath
    • `` toPathElements
    • `` toSimplePackageName
Cutwater
Docs
Getting Started
Community
Stack Overflow
More
GitHubStar
Copyright © 2019 Codification.org