Skip to content
Browse files

Clarify docstring.

  • Loading branch information...
1 parent 10aa4eb commit e8004248594982d489b5f06794078ae4cbf191c1 @jelmer jelmer committed
Showing with 3 additions and 0 deletions.
  1. +3 −0 dulwich/index.py
View
3 dulwich/index.py
@@ -135,7 +135,10 @@ def write_index_dict(f, entries):
def cleanup_mode(mode):
"""Cleanup a mode value.
+
+ This will return a mode that can be stored in a tree object.
+ :param mode: Mode to clean up.
"""
if stat.S_ISLNK(mode):
return stat.S_IFLNK

0 comments on commit e800424

Please sign in to comment.
Something went wrong with that request. Please try again.