(file:string, content:string)
| 57 | |
| 58 | /** Using the inferred workspace from the file path, update the contents of the file. */ |
| 59 | export function save(file:string, content:string) { |
| 60 | let workspace = getWorkspaceFromPath(file); |
| 61 | if(!workspace) return; |
| 62 | |
| 63 | return set(file, content, workspace); |
| 64 | } |
| 65 | |
| 66 | //--------------------------------------------------------- |
| 67 | // Utilities |
nothing calls this directly
no test coverage detected