* Checks if there are any unsaved files in the manager. * @returns {number} The number of unsaved files.
()
| 2995 | * @returns {number} The number of unsaved files. |
| 2996 | */ |
| 2997 | function hasUnsavedFiles() { |
| 2998 | const unsavedFiles = manager.files.filter((file) => file.isUnsaved); |
| 2999 | return unsavedFiles.length; |
| 3000 | } |
| 3001 | |
| 3002 | /** |
| 3003 | * Gets a file from the file manager |
nothing calls this directly
no outgoing calls
no test coverage detected