You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: book/B-embedding-git/sections/dulwich.asc
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
1
=== Dulwich
2
2
3
3
(((Dulwich)))(((Python)))
4
-
There is also a pure-PythonGit implementation - Dulwich.
5
-
The project is hosted under https://www.dulwich.io/
6
-
It aims to provide an interface to git repositories (both local and remote) that doesn't call out to git directly but instead uses pure Python.
7
-
It has an optional C extensions though, that significantly improve the performance.
4
+
Es gibt auch eine purePython-Implementierung in Git – Dulwich.
5
+
Das Projekt wird unter https://www.dulwich.io/ gehostet.
6
+
Es zielt darauf ab, eine Schnittstelle zu Git-Repositorys (lokal und remote) bereitzustellen, die nicht direkt Git aufruft, sondern stattdessen reines Python verwendet.
7
+
Es hat dennoch eine optionale C-Erweiterung, die die Leistung erheblich verbessert.
8
8
9
-
Dulwich follows git design and separate two basic levels of API: plumbing and porcelain.
9
+
Dulwich folgt dem Git-Design und trennt die beiden grundlegenden API-Bereiche: Basis- und Standardbefehle (engl. plumbing and porcelain).
10
10
11
-
Here is an example of using the lower level API to access the commit message of the last commit:
11
+
Das folgende Beispiel zeigt die API der low-level (Basis-)Ebene, um auf die Commit-Beschreibung des letzten Commits zuzugreifen:
12
12
13
13
[source, python]
14
14
-----
@@ -25,7 +25,7 @@ c.message
25
25
# 'Add note about encoding.\n'
26
26
-----
27
27
28
-
To print a commit log using high-level porcelain API, one can use:
28
+
Zum Drucken eines Commit-Protokolls mit der high-level Standard-API kann man folgendes verwenden:
* The official API documentation is available at https://www.dulwich.io/apidocs/dulwich.html[]
44
-
* Official tutorial at https://www.dulwich.io/docs/tutorial[] has many examples of how to do specific tasks with Dulwich
43
+
* Die offizielle API-Dokumentation ist unter https://www.dulwich.io/apidocs/dulwich.html[] verfügbar.
44
+
* Das offizielle Tutorial bei https://www.dulwich.io/docs/tutorial[] enthält viele Beispiele dafür, wie bestimmte Aufgaben mit Dulwich erledigt werden können.
0 commit comments