diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-05-28 08:02:55 -0600 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-05-28 08:02:55 -0600 |
commit | cefc3c5ebdf22b00a86b82b8461b8465f9304988 (patch) | |
tree | f06644bf5194ea505186ad9f5f272b5207ca50b4 /cmd/bolt/main.go | |
parent | Merge pull request #174 from benbjohnson/remove-db-check (diff) | |
download | dedo-cefc3c5ebdf22b00a86b82b8461b8465f9304988.tar.gz dedo-cefc3c5ebdf22b00a86b82b8461b8465f9304988.tar.xz |
Add circular dependency integrity check.
This commit adds a check to prevent circular dependencies in branch nodes. If a circular dependency occurs
then a panic will be called and the commit will be prevented. This only works for a single branch level
and will not recursively search the tree.
Diffstat (limited to 'cmd/bolt/main.go')
0 files changed, 0 insertions, 0 deletions