Beispiel #1
0
 def getKeys( self, path ) :
     node = node_seek_path( self.entry, path )
     if node == None :
         return -999, []
     else :
         if node[2] :
             return 0, list( node[2] )
         else :
             return -1, node_power_seek( node )
Beispiel #2
0
 def checkVaild( self, path ) :
     node = node_seek_path( self.entry, path )
     if node == None :
         return False
     else :
         return True