lang: funcs: txn, util: Fix typos

This commit is contained in:
James Shubin
2024-07-25 12:44:58 -04:00
parent 8b54306eb9
commit 0a183dfff9
2 changed files with 2 additions and 2 deletions

View File

@@ -539,7 +539,7 @@ func (obj *GraphTxn) commit() error {
// populate operations before the Commit is run.)
func (obj *GraphTxn) Commit() error {
// Lock our internal state mutex first... this prevents other AddVertex
// or similar calls from interferring with our work here.
// or similar calls from interfering with our work here.
obj.mutex.Lock()
defer obj.mutex.Unlock()

View File

@@ -51,7 +51,7 @@ type AferoFs struct {
func (obj *AferoFs) URI() string {
if obj.Scheme != "" {
// if obj.Path is not empty and doesn't start with a slash, then
// the first chunk will dissappear when being parsed with stdlib
// the first chunk will disappear when being parsed with stdlib
return obj.Scheme + "://" + obj.Path
}
return fmt.Sprintf("%s://"+"/", obj.Name()) // old