summaryrefslogtreecommitdiff
path: root/docs/markdown
diff options
context:
space:
mode:
Diffstat (limited to 'docs/markdown')
-rw-r--r--docs/markdown/snippets/file-full-path.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/markdown/snippets/file-full-path.md b/docs/markdown/snippets/file-full-path.md
new file mode 100644
index 000000000..fbb8e548d
--- /dev/null
+++ b/docs/markdown/snippets/file-full-path.md
@@ -0,0 +1,7 @@
+## File object now has `full_path()` method
+
+Returns a full path pointing to the file. This is useful for printing the path
+with e.g [[message]] function for debugging purpose.
+
+**NOTE:** In most cases using the object itself will do the same job
+as this and will also allow Meson to setup dependencies correctly.