Options
All
  • Public
  • Public/Protected
  • All
Menu
since

1.1.7

version

2018-08-31

Hierarchy

  • FilePath

Index

Constructors

constructor

  • new FilePath(folder?: string, name?: string, extension?: string): FilePath
  • Parameters

    • folder: string = ...
    • name: string = ...
    • extension: string = ...

    Returns FilePath

Properties

Extension

Extension: string

Folder

Folder: string

GeneratePath

GeneratePath: undefined | ((filePath: FilePath) => FilePath)

Name

Name: string

Accessors

DynamicPath

  • get DynamicPath(): string
  • Returns string

HasDynamicPath

  • get HasDynamicPath(): boolean
  • Returns boolean

NameWithExtension

  • get NameWithExtension(): string
  • set NameWithExtension(val: string): void
  • Returns string

  • Parameters

    • val: string

    Returns void

Path

  • get Path(): string
  • set Path(val: string): void
  • Returns string

  • Parameters

    • val: string

    Returns void

Methods

Clone

  • Clone(copyGeneratePath?: boolean): FilePath
  • Parameters

    • copyGeneratePath: boolean = false

    Returns FilePath

Reset

  • Reset(dynamicPath?: boolean, extension?: boolean, name?: boolean, folder?: boolean): FilePath
  • Parameters

    • dynamicPath: boolean = true
    • extension: boolean = true
    • name: boolean = true
    • folder: boolean = false

    Returns FilePath

TryValid

  • Returns FilePath

Legend

  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Variable
  • Function
  • Function with type parameter
  • Type alias
  • Type alias with type parameter
  • Interface
  • Interface with type parameter
  • Enumeration

Generated using TypeDoc