Example #1
0
def DirectoryURI(ctx, dirnode):
    return text_plain(dirnode.get_uri(), ctx)
Example #2
0
def abbreviated_dirnode(dirnode):
    u = from_string_dirnode(dirnode.get_uri())
    return u.abbrev_si()