示例#1
0
 def is_prefix(self, prefix, path):
     assert prefix and path, 'cannot call with None params'
     return is_prefix(prefix, path)
示例#2
0
 def is_prefix(self, prefix, path):
     assert prefix and path, 'cannot call with None params'
     return is_prefix(prefix, path)
示例#3
0
 def has_prefix(self, prefix):
     assert prefix, 'cannot call with empty prefix'
     return is_prefix(prefix, self.path)
示例#4
0
 def has_prefix(self, prefix):
     assert prefix, 'cannot call with empty prefix'
     return is_prefix(prefix, self.path)