PolicyLockModule
PackageAxial.Tool
Summary
| Name | Signature | Synopsis |
|---|---|---|
| Operations | ||
| ConfigName | ConfigName | No description available. |
| DefaultBaseline | DefaultBaseline | No description available. |
| LockName | LockName | No description available. |
| knownRules | knownRules | No description available. |
| ordinaryLineComments | ordinaryLineComments text | Each ordinary // comment in a source file, from its // to the end of the line. |
| namedSuppression | namedSuppression value | A recorded allowance or note with its rule named: // axial-allow-AXG001: … (before 0.16) reads as // axial-allow-raw-effect: …, so a lock or a commit from before 0.16 compares with the current one. |
| capabilityChanges | capabilityChanges old current | How capabilities moved between two snapshots: loosening needs review, tightening does not. |
| inspect | inspect root | No description available. |
| serialize | serialize snapshot | No description available. |
| parseLock | parseLock path | No description available. |
| diff | diff old current | No description available. |
| isEffectAllowance | isEffectAllowance value | An AXG001 or AXG009 allowance: a raw effect or raw concurrency outside any capability. |
| isEmpty | isEmpty x | No description available. |
| formatJsonSummary | formatJsonSummary x | No description available. |
| formatSummary | formatSummary x | No description available. |
| baselineDiagnostic | baselineDiagnostic rule | No description available. |
| validateApproval | validateApproval approval old current changes | No description available. |
| writeAtomic | writeAtomic path text | No description available. |
| writeNew | writeNew path text | Create a file without replacing a concurrently created artifact. |
Operations
kind:member
Each ordinary `//` comment in a source file, from its `//` to the end of the line. Strings, XML docs (`///`)
and block comments are skipped, as the analyzer skips them, so a directive quoted in a message or a doc is
not an allowance. The lock snapshot and policy review both read comments through it.
Parameters
| Name | Type | Description |
|---|---|---|
| text | string |
Returns
string list
kind:member
A recorded allowance or note with its rule named: `// axial-allow-AXG001: …` (before 0.16) reads as
`// axial-allow-raw-effect: …`, so a lock or a commit from before 0.16 compares with the current one.
Parameters
| Name | Type | Description |
|---|---|---|
| value | string |
Returns
string
kind:member
How capabilities moved between two snapshots: loosening needs review, tightening does not. Removing a definition,
one of its `replaces` entries, or lowering it to `guide` loosens; so does a project claiming a capability for more
files than before. Renaming or moving a claimed file keeps the count, so it is neither.
Parameters
| Name | Type | Description |
|---|---|---|
| old | Snapshot | |
| current | Snapshot |
Returns
string list * string list
kind:member
kind:member
kind:member
kind:member
kind:member
kind:member
kind:member
kind:member
kind:member
kind:member

