commit

package
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package commit only purpose is to commit tasks.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add added in v0.1.1

func Add(path, oldPath, message string) error

Add stages and commits files. Will not commit if repo is dirty.

func AddWithConflictDetection added in v0.4.0

func AddWithConflictDetection(path, oldPath, message, tasksDir string) error

AddWithConflictDetection adds and commits files with automatic conflict detection

func CheckForTaskConflicts added in v0.4.0

func CheckForTaskConflicts(tasksDir string, autoResolve bool) error

CheckForTaskConflicts detects and optionally resolves ID conflicts in the backlog

func FindTopLevelGitDir added in v0.1.1

func FindTopLevelGitDir() (string, error)

func PostMergeConflictCheck added in v0.4.0

func PostMergeConflictCheck(tasksDir string) error

PostMergeConflictCheck should be called after Git merge operations to detect ID conflicts

func PreCommitConflictCheck added in v0.4.0

func PreCommitConflictCheck(tasksDir string) error

PreCommitConflictCheck should be called before commits to ensure no conflicts exist

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL