in ci/internal/git/repo.go [18:25]
func NewRepository(dir string) (*Repository, error) {
abs, err := filepath.Abs(dir)
if err != nil {
return nil, fmt.Errorf("getting absolute directory path: %w", err)
}
return &Repository{dir: abs}, nil
}