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__(
6666 >>> git.remote.show()
6767 'origin'
6868
69- >>> git.stash._list ()
69+ >>> git.stash.ls ()
7070 ''
7171 """
7272 #: Directory to check out
@@ -2791,7 +2791,7 @@ def run(
27912791 log_in_real_time = log_in_real_time ,
27922792 )
27932793
2794- def _list (
2794+ def ls (
27952795 self ,
27962796 * ,
27972797 # Pass-through to run()
@@ -2802,7 +2802,7 @@ def _list(
28022802
28032803 Examples
28042804 --------
2805- >>> GitStashCmd(path=git_local_clone.path)._list ()
2805+ >>> GitStashCmd(path=git_local_clone.path).ls ()
28062806 ''
28072807 """
28082808 return self .run (
Original file line number Diff line number Diff line change @@ -611,7 +611,7 @@ def info(
611611
612612 return self .run (["info" , * local_flags ])
613613
614- def _list (self , * args : Any , ** kwargs : Any ) -> str :
614+ def ls (self , * args : Any , ** kwargs : Any ) -> str :
615615 """List files in SVN repository (without downloading them).
616616
617617 Wraps `svn list
You can’t perform that action at this time.
0 commit comments