Skip to content

Commit cc3c252

Browse files
committed
note
1 parent c45bf84 commit cc3c252

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

go/libraries/doltcore/doltdb/doltdb.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ func DoltDBFromCS(cs chunks.ChunkStore, databaseName string) *DoltDB {
9797
return &DoltDB{db: hooksDatabase{Database: db}, vrw: vrw, ns: ns, databaseName: databaseName}
9898
}
9999

100+
// GetDatabaseName returns the name of the database.
101+
// Note: This can return an empty string if the database name is not populated.
100102
func (ddb *DoltDB) GetDatabaseName() string {
101103
return ddb.databaseName
102104
}

0 commit comments

Comments
 (0)