Skip to content

Commit 5a088bf

Browse files
committed
Fix expression function examples
1 parent 5fa9e2f commit 5a088bf

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

resources/function_help/json/file_name

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"type": "function",
44
"description": "Returns the name of a file (including the file extension), excluding the directory.",
55
"arguments": [ {"arg":"path","description":"a file path"}],
6-
"examples": [ { "expression":"base_file_name('/home/qgis/data/country_boundaries.shp')", "returns":"'country_boundaries.shp'"}]
6+
"examples": [ { "expression":"file_name('/home/qgis/data/country_boundaries.shp')", "returns":"'country_boundaries.shp'"}]
77
}
88

resources/function_help/json/file_path

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"type": "function",
44
"description": "Returns the directory component of a file path. This does not include the file name.",
55
"arguments": [ {"arg":"path","description":"a file path"}],
6-
"examples": [ { "expression":"base_file_name('/home/qgis/data/country_boundaries.shp')", "returns":"'/home/qgis/data'"}]
6+
"examples": [ { "expression":"file_path('/home/qgis/data/country_boundaries.shp')", "returns":"'/home/qgis/data'"}]
77
}
88

resources/function_help/json/file_suffix

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"type": "function",
44
"description": "Returns the file suffix (extension) from a file path.",
55
"arguments": [ {"arg":"path","description":"a file path"}],
6-
"examples": [ { "expression":"base_file_name('/home/qgis/data/country_boundaries.shp')", "returns":"'shp'"}]
6+
"examples": [ { "expression":"file_suffix('/home/qgis/data/country_boundaries.shp')", "returns":"'shp'"}]
77
}
88

0 commit comments

Comments
 (0)