You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: status.go
    path of file: ./repos/werf/pkg/true_git/status
    
    the code of the file until where you have to start completion: package status

import (
	"bufio"
	"context"
	"fmt"
	"os"
	"strings"

	"github.com/werf/logboek"
	"github.com/werf/logboek/pkg/types"
	"github.com/werf/werf/pkg/true_git"
)

// Status returns Result with path lists of untracked files and modified files for index and worktree.
// 
    
func parseOrdinaryRegularFileEntry(result *Result, entry ordinaryEntry) error {
	if len(entry.xy) != 2 {
		return fmt.Errorf("invalid git status ordinary <XY> field: %q (%q)", entry.raw, entry.xy)
	}

	stageCode := entry.xy[0]
	worktreeCode := entry.xy[1]

	if stageCode != '.' {
		result.Index.pathList = append(result.Index.pathList, entry.path)
		result.Index.addToChecksum(entry.path, entry.mi, entry.hI)
	}

	if worktreeCode != '.' {
		result.Worktree.pathList = append(result.Worktree.pathList, entry.path)
	}

	return nil
}