Gets the full contents of a file.
Content is read only via the File (buffer). Uses active file when path matches, else get_file_from_active_project. create_buffer is always called (no-op if buffer exists). Returns "Problem loading file contents: <path>" if the file is not found. No disk fallback.
| file |
The file path |
|
The file contents, or an error message if not available |