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.
1 parent dff15cd commit 1003c66Copy full SHA for 1003c66
doc/source/conf.py
@@ -120,7 +120,7 @@
120
# Add any paths that contain custom static files (such as style sheets) here,
121
# relative to this directory. They are copied after the builtin static files,
122
# so a file named "default.css" will overwrite the builtin "default.css".
123
-html_static_path = ['.static']
+#html_static_path = ['.static']
124
125
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
126
# using the given strftime format.
gitdb/db/base.py
@@ -33,6 +33,9 @@ def __contains__(self, sha):
33
#{ Query Interface
34
def has_object(self, sha):
35
"""
36
+ Whether the object identified by the given 20 bytes
37
+ binary sha is contained in the database
38
+
39
:return: True if the object identified by the given 20 bytes
40
binary sha is contained in the database"""
41
raise NotImplementedError("To be implemented in subclass")
@@ -82,6 +85,8 @@ def set_ostream(self, stream):
82
85
83
86
def ostream(self):
84
87
88
+ Return the output stream
89
90
:return: overridden output stream this instance will write to, or None
91
if it will write to the default stream"""
92
return self._ostream
gitdb/db/mem.py
@@ -92,6 +92,7 @@ def stream_copy(self, sha_iter, odb):
"""Copy the streams as identified by sha's yielded by sha_iter into the given odb
93
The streams will be copied directly
94
**Note:** the object will only be written if it did not exist in the target db
95
96
:return: amount of streams actually copied into odb. If smaller than the amount
97
of input shas, one or more objects did already exist in odb"""
98
count = 0
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments