|
7 | 7 | # |
8 | 8 | # Copyright © 2018-2020 Dominic Davis-Foster <dominic@davis-foster.co.uk> |
9 | 9 | # |
10 | | -# check_dependencies based on https://stackoverflow.com/a/29044693/3092681 |
11 | | -# Copyright © 2015 TehTechGuy |
12 | | -# Licensed under CC-BY-SA |
13 | | -# |
14 | | -# as_text from https://stackoverflow.com/a/40935194 |
15 | | -# Copyright © 2016 User3759685 |
16 | | -# Available under the MIT License |
17 | | -# |
18 | | -# chunks from https://stackoverflow.com/a/312464/3092681 |
19 | | -# Copytight © 2008 Ned Batchelder |
20 | | -# Licensed under CC-BY-SA |
21 | | -# |
22 | 10 | # Parts of the docstrings and the PathPlus class based on the Python 3.8.2 Documentation |
23 | 11 | # Licensed under the Python Software Foundation License Version 2. |
24 | 12 | # Copyright © 2001-2020 Python Software Foundation. All rights reserved. |
@@ -57,10 +45,6 @@ def append(var: str, filename: PathLike, **kwargs) -> int: |
57 | 45 | """ |
58 | 46 | Append ``var`` to the file ``filename`` in the current directory. |
59 | 47 |
|
60 | | - .. warning:: |
61 | | -
|
62 | | - This is currently untested |
63 | | -
|
64 | 48 | .. TODO:: make this the file in the given directory, by default the current directory |
65 | 49 |
|
66 | 50 | :param var: The value to append to the file |
@@ -120,10 +104,6 @@ def delete(filename: PathLike, **kwargs): |
120 | 104 | """ |
121 | 105 | Delete the file in the current directory. |
122 | 106 |
|
123 | | - .. warning:: |
124 | | -
|
125 | | - This is currently untested |
126 | | -
|
127 | 107 | .. TODO:: make this the file in the given directory, by default the current directory |
128 | 108 |
|
129 | 109 | :param filename: The file to delete |
@@ -183,10 +163,6 @@ def read(filename: PathLike, **kwargs) -> str: |
183 | 163 | """ |
184 | 164 | Read a file in the current directory (in text mode). |
185 | 165 |
|
186 | | - .. warning:: |
187 | | -
|
188 | | - This is currently untested |
189 | | -
|
190 | 166 | .. TODO:: make this the file in the given directory, by default the current directory |
191 | 167 |
|
192 | 168 | :param filename: The file to read from |
|
0 commit comments