Exemplo n.º 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))
Exemplo n.º 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))
Exemplo n.º 3
0
 def file_url(self):
     """Return a file:// link to the directory."""
     return jinja.file_url(str(self.layout))
Exemplo n.º 4
0
 def file_url(self):
     """Return a file:// link to the directory."""
     return jinja.file_url(str(self.layout))