Commit b56cada6 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent c9e3d095
...@@ -49,6 +49,7 @@ type PathSet struct { ...@@ -49,6 +49,7 @@ type PathSet struct {
masterIdx map[*Tree]SetObject masterIdx map[*Tree]SetObject
} }
/*
// NewPathSet creates new empty PathSet. // NewPathSet creates new empty PathSet.
func NewPathSet() *PathSet { func NewPathSet() *PathSet {
return &PathSet{ return &PathSet{
...@@ -56,7 +57,9 @@ func NewPathSet() *PathSet { ...@@ -56,7 +57,9 @@ func NewPathSet() *PathSet {
masterIdx: make(map[*Tree]SetObject), masterIdx: make(map[*Tree]SetObject),
} }
} }
*/
/*
// Add adds path to collection and associates path root with master. // Add adds path to collection and associates path root with master.
// //
// path[0] signifies a root. // path[0] signifies a root.
...@@ -103,6 +106,7 @@ func (m *PathSet) Add(master interface{}, path []Node) { ...@@ -103,6 +106,7 @@ func (m *PathSet) Add(master interface{}, path []Node) {
} }
masterSet.Add(master) masterSet.Add(master)
} }
*/
// Invalidates returns which masters are invalidated by changed objects. // Invalidates returns which masters are invalidated by changed objects.
// //
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment