subprojects/meson-docs/docs/yaml/objects/file.yaml
raw| 1 | name: file |
| 2 | long_name: File |
| 3 | description: Object that stores the path to an existing file |
| 4 | |
| 5 | methods: |
| 6 | - name: full_path |
| 7 | returns: str |
| 8 | since: 1.4.0 |
| 9 | description: | |
| 10 | Returns a full path pointing to the file. This is useful for printing the |
| 11 | path with e.g [[message]] function for debugging purpose. |
| 12 | **NOTE:** In most cases using the object itself will do the same job |
| 13 | as this and will also allow Meson to setup dependencies correctly. |