示例#1
0
def _file_url(path):
    """Return a file:// url (as string) for the given LocalPath.

    Arguments:
        path: The filepath as LocalPath (as handled by py.path)
    """
    return jinja.file_url(str(path))
示例#2
0
def _file_url(path):
    """Return a file:// url (as string) for the given LocalPath.

    Arguments:
        path: The filepath as LocalPath (as handled by py.path)
    """
    return jinja.file_url(str(path))
示例#3
0
 def file_url(self):
     """Return a file:// link to the directory."""
     return jinja.file_url(str(self.layout))
示例#4
0
 def file_url(self):
     """Return a file:// link to the directory."""
     return jinja.file_url(str(self.layout))