File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ def __init__(
66
66
>>> git.remote.show()
67
67
'origin'
68
68
69
- >>> git.stash._list ()
69
+ >>> git.stash.ls ()
70
70
''
71
71
"""
72
72
#: Directory to check out
@@ -2791,7 +2791,7 @@ def run(
2791
2791
log_in_real_time = log_in_real_time ,
2792
2792
)
2793
2793
2794
- def _list (
2794
+ def ls (
2795
2795
self ,
2796
2796
* ,
2797
2797
# Pass-through to run()
@@ -2802,7 +2802,7 @@ def _list(
2802
2802
2803
2803
Examples
2804
2804
--------
2805
- >>> GitStashCmd(path=git_local_clone.path)._list ()
2805
+ >>> GitStashCmd(path=git_local_clone.path).ls ()
2806
2806
''
2807
2807
"""
2808
2808
return self .run (
Original file line number Diff line number Diff line change @@ -611,7 +611,7 @@ def info(
611
611
612
612
return self .run (["info" , * local_flags ])
613
613
614
- def _list (self , * args : Any , ** kwargs : Any ) -> str :
614
+ def ls (self , * args : Any , ** kwargs : Any ) -> str :
615
615
"""List files in SVN repository (without downloading them).
616
616
617
617
Wraps `svn list
You can’t perform that action at this time.
0 commit comments