Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1cb02eb + e533955 commit 2976561Copy full SHA for 2976561
doc/source/tutorial.rst
@@ -146,9 +146,9 @@ Index Objects are objects that can be put into git's index. These objects are tr
146
''
147
hct.trees[0].path # the first subdirectory has one though
148
'dir'
149
- htc.mode # trees have the mode of a linux directory
+ oct(htc.mode) # trees have the mode of a linux directory
150
040000
151
- '%o' % htc.blobs[0].mode # blobs have a specific mode though comparable to a standard linux fs
+ oct(htc.blobs[0].mode) # blobs have a specific mode though comparable to a standard linux fs
152
100644
153
154
Access blob data (or any object data) directly or using streams::
0 commit comments