equal
deleted
inserted
replaced
54 if path_link_name.LINK_ID_REGEX.match(link_id): |
54 if path_link_name.LINK_ID_REGEX.match(link_id): |
55 return True |
55 return True |
56 return False |
56 return False |
57 |
57 |
58 |
58 |
59 def isPartialPathFormatValid(partial_path): |
59 def isScopePathFormatValid(scope_path): |
60 """Returns True if partial_path is in a valid format. |
60 """Returns True if scope_path is in a valid format. |
61 |
61 |
62 Args: |
62 Args: |
63 partial_path: partial path prepended to link ID |
63 scope_path: scope path prepended to link ID |
64 used for identification. |
64 used for identification. |
65 """ |
65 """ |
66 |
66 |
67 if path_link_name.PARTIAL_PATH_REGEX.match(partial_path): |
67 if path_link_name.SCOPE_PATH_REGEX.match(scope_path): |
68 return True |
68 return True |
69 |
69 |
70 return False |
70 return False |