Example #1
0
 def directory(self):
     return path_strip(self.name, get_directory())
Example #2
0
 def folder(self):
     return os.path.dirname(
         path_strip(os.path.join(self.head, ''), get_directory()))
Example #3
0
 def _folder(self):
     return os.path.dirname(
         path_strip(os.path.join(self.head, ''), DIRECTORY))
Example #4
0
 def path_relative_directory(self):
     """ path relative to the path returned by get_directory() """
     return path_strip(self.name, get_directory()).lstrip("/")
Example #5
0
 def _path_relative_directory(self):
     "path relative to DIRECTORY"
     return path_strip(self.path, DIRECTORY)
Example #6
0
 def _directory(self):
     return path_strip(self.path, DIRECTORY)
Example #7
0
 def directory(self):
     return path_strip(self.path, get_directory())
Example #8
0
 def folder(self):
     return os.path.dirname(
         path_strip(os.path.join(self.head, ''), get_directory()))
Example #9
0
 def _directory(self):
     return path_strip(self.path, get_directory())
Example #10
0
 def path_relative_directory(self):
     """ path relative to the path returned by get_directory() """
     return path_strip(self.path, get_directory()).lstrip("/")
Example #11
0
 def _path_relative_directory(self):
     "path relative to the path returned by get_directory()"
     return path_strip(self.path, get_directory()).lstrip("/")
Example #12
0
 def _folder(self):
     return os.path.dirname(path_strip(os.path.join(self.head,''), DIRECTORY))
Example #13
0
 def _directory(self):
     return path_strip(self.path, DIRECTORY)
Example #14
0
 def _path_relative_directory(self):
     "path relative to DIRECTORY"
     return path_strip(self.path, DIRECTORY)
Example #15
0
 def _path_relative_directory(self):
     "path relative to the path returned by get_directory()"
     return path_strip(self.path, get_directory())