Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PublishState

Hierarchy

  • PublishState

Index

Constructors

constructor

  • new PublishState(filePath: string, hasHash?: boolean): PublishState

Properties

state

state: ForgeMakeResult = {} as ForgeMakeResult

Methods

generateHash

  • generateHash(): string

load

  • load(): Promise<void>

saveToDisk

  • saveToDisk(): Promise<void>

Static loadFromDirectory

  • loadFromDirectory(directory: string, rootDir: string): Promise<PublishState[][]>

Static saveToDirectory

  • saveToDirectory(directory: string, artifacts: ForgeMakeResult[], rootDir: string): Promise<void>
  • Parameters

    • directory: string
    • artifacts: ForgeMakeResult[]
    • rootDir: string

    Returns Promise<void>