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