| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 8858a63 commit 97ab197
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -70,7 +70,7 @@ <h2>Initialize a Repo object<a class="headerlink" href="#initialize-a-repo-objec | |||
| 70 | 70 | <p>Query the active branch, query untracked files or whether the repository data has been modified:</p> | |
| 71 | 71 | <div class="highlight-python"><div class="highlight"><pre><span class="n">repo</span><span class="o">.</span><span class="n">is_dirty</span><span class="p">()</span> | |
| 72 | 72 | <span class="bp">False</span> | |
| 73 | - <span class="n">repo</span><span class="o">.</span><span class="n">untracked_files</span><span class="p">()</span> | ||
| 73 | + <span class="n">repo</span><span class="o">.</span><span class="n">untracked_files</span> | ||
| 74 | 74 | <span class="p">[</span><span class="s">'my_untracked_file'</span><span class="p">]</span> | |
| 75 | 75 | </pre></div> | |
| 76 | 76 | </div> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -33,7 +33,7 @@ Query the active branch, query untracked files or whether the repository data h | |||
| 33 | 33 | ||
| 34 | 34 | repo.is_dirty() | |
| 35 | 35 | False | |
| 36 | - repo.untracked_files() | ||
| 36 | + repo.untracked_files | ||
| 37 | 37 | ['my_untracked_file'] | |
| 38 | 38 | ||
| 39 | 39 | Clone from existing repositories or initialize new empty ones:: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments