Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finish docs for GitTree #23451

Merged
merged 2 commits into from
Aug 29, 2017
Merged

Finish docs for GitTree #23451

merged 2 commits into from
Aug 29, 2017

Conversation

kshyatt
Copy link
Contributor

@kshyatt kshyatt commented Aug 25, 2017

Someday @ararslan will demand I stop doccing things...

@kshyatt kshyatt added docs This change adds or pertains to documentation libgit2 The libgit2 library or the LibGit2 stdlib module labels Aug 25, 2017
@kshyatt kshyatt requested a review from ararslan August 25, 2017 16:17
@ararslan
Copy link
Member

Someday @ararslan will demand I stop doccing things...

Never!

@@ -1,11 +1,16 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

"""
Traverse the entries in a tree and its subtrees in post or pre order.
treewalk(f::Function, tree::GitTree, payload=Any[], post::Bool = false)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inconsistent spacing around the =

Traverse the entries in a tree and its subtrees in post or pre order.
treewalk(f::Function, tree::GitTree, payload=Any[], post::Bool = false)

Traverse the entries in `tree` and its subtrees in post or pre order.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does "post or pre order" mean? Might be good to spell that out in layman's terms.

"""
filemode(te::GitTreeEntry) -> Cint

Return the UNIX filemode of the object on disk to which `te` refers as an integer.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What behavior does this have on Windows?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have a test for it that runs on Windows?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I think we do. It's here. I think that's still the UNIX filemode?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess so. I didn't think UNIX filemodes were applicable to Windows, but ¯\_(ツ)_/¯

@kshyatt
Copy link
Contributor Author

kshyatt commented Aug 29, 2017

Is this good to go?

@kshyatt kshyatt merged commit 1c75a4d into master Aug 29, 2017
@kshyatt kshyatt deleted the ksh/doctree branch August 29, 2017 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This change adds or pertains to documentation libgit2 The libgit2 library or the LibGit2 stdlib module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants