Skip to content

Commit 88f5a76

Browse files
committed
amend func to private again
1 parent 7ca6833 commit 88f5a76

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

go/libraries/doltcore/sqle/dtablefunctions/dolt_log.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ func (ltf *LogTableFunction) RowIter(ctx *sql.Context, row sql.Row) (sql.RowIter
484484
return commit.NumParents() >= ltf.minParents, nil
485485
}
486486

487-
cHashToRefs, err := GetCommitHashToRefs(ctx, sqledb.DbData().Ddb, ltf.decoration)
487+
cHashToRefs, err := getCommitHashToRefs(ctx, sqledb.DbData().Ddb, ltf.decoration)
488488
if err != nil {
489489
return nil, err
490490
}
@@ -578,8 +578,8 @@ func (ltf *LogTableFunction) RowIter(ctx *sql.Context, row sql.Row) (sql.RowIter
578578
return ltf.NewDotDotLogTableFunctionRowIter(ctx, sqledb.DbData().Ddb, commits, notCommits, matchFunc, cHashToRefs, ltf.tableNames)
579579
}
580580

581-
// GetCommitHashToRefs builds map of commit hashes to branch/tag names for decoration.
582-
func GetCommitHashToRefs(ctx *sql.Context, ddb *doltdb.DoltDB, decoration string) (map[hash.Hash][]string, error) {
581+
// getCommitHashToRefs builds map of commit hashes to branch/tag names for decoration.
582+
func getCommitHashToRefs(ctx *sql.Context, ddb *doltdb.DoltDB, decoration string) (map[hash.Hash][]string, error) {
583583
cHashToRefs := map[hash.Hash][]string{}
584584

585585
// Get all branches

0 commit comments

Comments
 (0)