예제 #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)