| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,6 +2,11 @@ | |||
| 2 | 2 | Changelog | |
| 3 | 3 | ========= | |
| 4 | 4 | ||
| 5 | + NEXT | ||
| 6 | + ==== | ||
| 7 | + * Blob Type | ||
| 8 | + * Added mode constants to ease the manual creation of blobs | ||
| 9 | + | ||
| 5 | 10 | 0.3.1 Beta 2 | |
| 6 | 11 | ============ | |
| 7 | 12 | * Added **reflog support** ( reading and writing ) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,6 +13,11 @@ class Blob(base.IndexObject): | |||
| 13 | 13 | """A Blob encapsulates a git blob object""" | |
| 14 | 14 | DEFAULT_MIME_TYPE = "text/plain" | |
| 15 | 15 | type = "blob" | |
| 16 | + | ||
| 17 | + # valid blob modes | ||
| 18 | + executable_mode = 0100755 | ||
| 19 | + file_mode = 0100644 | ||
| 20 | + link_mode = 0120000 | ||
| 16 | 21 | ||
| 17 | 22 | __slots__ = tuple() | |
| 18 | 23 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments