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