• Lucas Molas's avatar
    dag: deduplicate AddNodeLinkClean into AddNodeLink · 82e7692e
    Lucas Molas authored
    `AddNodeLink` used to cache the linked node whereas `AddNodeLinkClean`
    did not, however, at some point the former was changed to do the same
    thing as the latter (i.e., not cache the linked node). That is, they now
    do the same thing so there's no reason to have both.
    
    The name `AddNodeLink` is preserved, even though it used to imply the
    cache functionality contrasting with the `Clean` suffix of
    `AddNodeLinkClean`, with this function removed the cache connotation
    doesn't hold anymore.
    
    License: MIT
    Signed-off-by: default avatarLucas Molas <schomatis@gmail.com>
    82e7692e
node.go 8.63 KB