Skip to content

Commit c528770

Browse files
committed
Update Changelog and documentation
1 parent 5ec275c commit c528770

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

CHANGELOG.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@
1010
`#1245 <https://github.com/libgit2/pygit2/pull/1245>`_
1111
`#1246 <https://github.com/libgit2/pygit2/pull/1246>`_
1212

13+
- New submodule ``init(...)``, ``update(...)`` and ``reload(...)`` functions;
14+
new repository ``submodule_cache_all()``, ``submodule_cache_clear()`` and
15+
``submodule_status(...)`` functions
16+
`#1248 <https://github.com/libgit2/pygit2/pull/1248>`_
17+
18+
- Type hints for submodule functions in ``Repository``
19+
`#1247 <https://github.com/libgit2/pygit2/pull/1247>`_
20+
1321

1422
1.13.2 (2023-10-30)
1523
-------------------------

docs/submodule.rst

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,15 @@ A submodule is a foreign repository that is embedded within a
66
dedicated subdirectory of the repositories tree.
77

88
.. autoclass:: pygit2.Repository
9-
:members: add_submodule, init_submodules, listall_submodules, lookup_submodule, update_submodules
9+
:members: add_submodule, init_submodules, listall_submodules,
10+
lookup_submodule, update_submodules, submodule_status, submodule_cache_all,
11+
submodule_cache_clear
12+
1013
:noindex:
1114

1215

1316
The Submodule type
1417
====================
1518

16-
.. automethod:: pygit2.Submodule.open
17-
18-
.. autoattribute:: pygit2.Submodule.name
19-
.. autoattribute:: pygit2.Submodule.path
20-
.. autoattribute:: pygit2.Submodule.url
21-
.. autoattribute:: pygit2.Submodule.branch
22-
.. autoattribute:: pygit2.Submodule.head_id
19+
.. autoclass:: pygit2.Submodule
20+
:members:

0 commit comments

Comments
 (0)