Lines Matching refs:path
751 return os.path.abspath(self._filename).replace('\\', '/')
765 if os.path.exists(fullname):
766 project_dir = os.path.dirname(fullname)
768 if os.path.exists(os.path.join(project_dir, ".svn")):
772 one_up_dir = os.path.dirname(root_dir)
773 while os.path.exists(os.path.join(one_up_dir, ".svn")):
774 root_dir = os.path.dirname(root_dir)
775 one_up_dir = os.path.dirname(one_up_dir)
777 prefix = os.path.commonprefix([root_dir, project_dir])
782 root_dir = os.path.dirname(fullname)
783 while (root_dir != os.path.dirname(root_dir) and
784 not os.path.exists(os.path.join(root_dir, ".git")) and
785 not os.path.exists(os.path.join(root_dir, ".hg")) and
786 not os.path.exists(os.path.join(root_dir, ".svn"))):
787 root_dir = os.path.dirname(root_dir)
789 if (os.path.exists(os.path.join(root_dir, ".git")) or
790 os.path.exists(os.path.join(root_dir, ".hg")) or
791 os.path.exists(os.path.join(root_dir, ".svn"))):
792 prefix = os.path.commonprefix([root_dir, project_dir])
812 project, rest = os.path.split(googlename)
813 return (project,) + os.path.splitext(rest)
2947 return os.path.splitext(filename)[0]
3006 os.path.split(_DropCommonSuffixes(fileinfo.RepositoryName())))
3007 include_dir, include_base = os.path.split(_DropCommonSuffixes(include))
3010 include_dir == os.path.normpath(target_dir + '/../public')):
3188 fullname = os.path.abspath(filename).replace('\\', '/')