-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Finish docs for GitTree #23451
Conversation
Never! |
base/libgit2/tree.jl
Outdated
@@ -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) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Inconsistent spacing around the =
base/libgit2/tree.jl
Outdated
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. |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure!
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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 ¯\_(ツ)_/¯
Is this good to go? |
Someday @ararslan will demand I stop doccing things...