Return True if a file referenced by the given name already exists in the storage system, or False if the name is available for a new file.
(self, name)
| 148 | ) |
| 149 | |
| 150 | def exists(self, name): |
| 151 | """ |
| 152 | Return True if a file referenced by the given name already exists in |
| 153 | the storage system, or False if the name is available for a new file. |
| 154 | """ |
| 155 | raise NotImplementedError( |
| 156 | "subclasses of Storage must provide an exists() method" |
| 157 | ) |
| 158 | |
| 159 | def listdir(self, path): |
| 160 | """ |
no outgoing calls
no test coverage detected