()
| 301 | } |
| 302 | |
| 303 | export function createAndAppendText() { |
| 304 | const file = File.fromPath(path.join(knownFolders.temp().path, `${Date.now()}-app.txt`)); |
| 305 | file.appendTextSync('Hello'); |
| 306 | file.appendTextSync(' World'); |
| 307 | const data = file.readTextSync(); |
| 308 | console.log('createAndAppend:', data === 'Hello World'); |
| 309 | } |
| 310 | |
| 311 | export function createAndAppendData() { |
| 312 | const file = File.fromPath(path.join(knownFolders.temp().path, `${Date.now()}-app.txt`)); |
nothing calls this directly
no test coverage detected