def METHOD_NAME(view):
    if util.view.get_is_view_of_type(view, "status"):
        return "status.md", None
    if util.view.get_is_view_of_type(view, "tags"):
        return "tag_mgmt.md", "git-tags"
    if util.view.get_is_view_of_type(view, "log_graph"):
        return "history.md", "git-graph"
    if util.view.get_is_view_of_type(view, "branch"):
        return "branch_mgmt.md", "git-branch"
    if util.view.get_is_view_of_type(view, "rebase"):
        return "rebase.md", None
    if util.view.get_is_view_of_type(view, "commit"):
        anchor = ("git-amend-previous-commit"
                  if view.settings().get("git_savvy.commit_view.amend")
                  else None)
        return "commit.md", anchor
    if util.view.get_is_view_of_type(view, "diff"):
        anchor = ("git-diff-cached"
                  if view.settings().get("git_savvy.diff_view.in_cached_mode")
                  else "git-diff")
        return "staging.md", anchor
    if util.view.get_is_view_of_type(view, "inline_diff"):
        anchor = ("git-diff-current-file-inline"
                  if view.settings().get("git_savvy.inline_diff.cached")
                  else "git-diff-current-file-inline-cached")
        return "staging.md", anchor
    return "README.md", None