Class: ChangedContext
@pvm/update.ChangedContext
Implements
Constructors
constructor
• new ChangedContext(changedFiles
, options
, derivatives
)
Parameters
Name | Type |
---|---|
changedFiles | ChangedFiles |
options | ChangedContextOptions |
derivatives | ChangedContextAsyncDerivatives |
Defined in
packages/pvm-update/lib/changed-context.ts:50
Properties
changedFiles
• changedFiles: ChangedFiles
Defined in
packages/pvm-update/lib/changed-context.ts:39
commits
• commits: Commit
[]
Implementation of
Defined in
packages/pvm-update/lib/changed-context.ts:36
options
• options: ChangedContextOptions
Defined in
packages/pvm-update/lib/changed-context.ts:41
packages
• packages: ImmutablePkgSet
<Pkg
>
Implementation of
Defined in
packages/pvm-update/lib/changed-context.ts:37
prevPackages
• prevPackages: ImmutablePkgSet
<Pkg
>
Defined in
packages/pvm-update/lib/changed-context.ts:38
Accessors
files
• get
files(): string
[]
Returns
string
[]
Implementation of
Defined in
packages/pvm-update/lib/changed-context.ts:66
fromRef
• get
fromRef(): string
Returns
string
Implementation of
Defined in
packages/pvm-update/lib/changed-context.ts:70
targetLoadRef
• get
targetLoadRef(): undefined
| string
Returns
undefined
| string
Defined in
packages/pvm-update/lib/changed-context.ts:78
targetRef
• get
targetRef(): string
Returns
string
Implementation of
Defined in
packages/pvm-update/lib/changed-context.ts:74
Methods
getChangedFilesFor
â–¸ getChangedFilesFor(pkgName
): string
[]
Parameters
Name | Type |
---|---|
pkgName | string |
Returns
string
[]
Defined in
packages/pvm-update/lib/changed-context.ts:96
getPrevVersion
â–¸ getPrevVersion(pkgName
): undefined
| string
Parameters
Name | Type |
---|---|
pkgName | string |
Returns
undefined
| string
Defined in
packages/pvm-update/lib/changed-context.ts:82
pkgCommitsFor
â–¸ pkgCommitsFor(pkgName
): Promise
<Commit
[]>
Parameters
Name | Type |
---|---|
pkgName | string |
Returns
Promise
<Commit
[]>
Defined in
packages/pvm-update/lib/changed-context.ts:88
make
â–¸ Static
make(changedFiles
, options
): Promise
<ChangedContext
>
Parameters
Name | Type |
---|---|
changedFiles | ChangedFiles |
options | Omit <ChangedContextOptions , "commits" > |
Returns
Promise
<ChangedContext
>