| Conditions | 5 |
| Total Lines | 34 |
| Code Lines | 24 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | """ |
||
| 82 | |||
| 83 | Arguments |
||
| 84 | --------- |
||
| 85 | collection |
||
| 86 | The collection name |
||
| 87 | |||
| 88 | Returns |
||
| 89 | ------- |
||
| 90 | pathlib.Path |
||
| 91 | The folder |
||
| 92 | """ |
||
| 93 | folder = pathlib.Path( |
||
| 94 | "share", |
||
| 95 | "pandoc_latex_tip", |
||
| 96 | collection, |
||
| 97 | ) |
||
| 98 | |||
| 99 | if not folder.exists(): |
||
| 100 | folder.mkdir(parents=True) |
||
| 101 | |||
| 102 | return folder |
||
| 103 | |||
| 104 | |||
| 105 | if __name__ == "__main__": |
||
| 106 | get_icons() |
||
| 107 |