unison-cli-0.0.0
Safe HaskellSafe-Inferred
LanguageHaskell2010

Unison.CommandLine.OutputMessages

Synopsis

Documentation

notifyUser Source #

Arguments

:: Maybe FilePath

The directory being watched for .u files. If a FilePath isn’t provided, it uses a constant string. This is useful in contexts like transcripts, where we need the output to be consistent, and not vary because of a temp directory.

-> Output 
-> IO Pretty 

responseRequestId :: Response -> Maybe Text Source #

Dig the request id out of a response header.

showDiffNamespace :: forall v. Var v => ShowNumbers -> PrettyPrintEnv -> AbsBranchId -> AbsBranchId -> BranchDiffOutput v Ann -> (Pretty, NumberedArgs) Source #

ppe is just for rendering type signatures `oldPath, newPath :: Path.Absolute` are just for producing fully-qualified numbered args

numberedArgsForEndangerments :: PrettyPrintEnvDecl -> Map LabeledDependency (NESet LabeledDependency) -> NumberedArgs Source #

Get the list of numbered args corresponding to an endangerment map, which is used by a few outputs. See endangeredDependentsTable.

endangeredDependentsTable :: PrettyPrintEnvDecl -> Map LabeledDependency (NESet LabeledDependency) -> Pretty ColorText Source #

Format and render all dependents which are endangered by references going extinct.