Aller au contenu principal

Fossil

Traduction Bêta Non Officielle

Cette page a été traduite par PageTurner AI (bêta). Non approuvée officiellement par le projet. Vous avez trouvé une erreur ? Signaler un problème →

Description

Affiche les informations Fossil lorsque vous êtes dans un dépôt Fossil.

Exemple de configuration

{
"type": "fossil",
"style": "powerline",
"powerline_symbol": "",
"foreground": "#193549",
"background": "#ffeb3b"
}

Options

NameTypeDefaultDescription
native_fallbackbooleanfalsewhen set to true and fossil.exe is not available when inside a WSL2 shared Windows drive, we will fallback to the native fossil executable to fetch data. Not all information can be displayed in this case

Modèle (info)

modèle par défaut
 \ue725 {{.Branch}} {{.Status.String}}

Propriétés

NameTypeDescription
.StatusFossilStatuschanges in the worktree (see below)
.Branchstringcurrent branch

FossilStatus

NameTypeDescription
.Modifiedintnumber of edited, updated and changed files
.Deletedintnumber of deleted files
.Addedintnumber of added files
.Movedintnumber of renamed files
.Conflictedintnumber of conflicting files
.Changedbooleanif the status contains changes or not
.HasConflictsbooleanif the status contains conflicts or not
.Stringstringa string representation of the changes above

Les modifications locales utilisent la syntaxe suivante :

IconDescription
+added
!conflicted
-deleted
~modified
>moved