mirror of
https://github.com/garraflavatra/go-fmp.git
synced 2025-07-20 04:38:04 +00:00
Add NewSector function
This commit is contained in:
@ -42,7 +42,7 @@ func (dict *FmpDict) GetChildren(path ...uint64) *FmpDict {
|
||||
return &FmpDict{}
|
||||
}
|
||||
|
||||
func (dict *FmpDict) SetValue(path []uint64, value []byte) {
|
||||
func (dict *FmpDict) set(path []uint64, value []byte) {
|
||||
for i, key := range path {
|
||||
_, ok := (*dict)[key]
|
||||
if !ok {
|
||||
|
Reference in New Issue
Block a user