File tree 3 files changed +3
-3
lines changed
resources/function_help/json
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 3
3
"type": "function",
4
4
"description": "Returns the name of a file (including the file extension), excluding the directory.",
5
5
"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'"}]
7
7
}
8
8
Original file line number Diff line number Diff line change 3
3
"type": "function",
4
4
"description": "Returns the directory component of a file path. This does not include the file name.",
5
5
"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'"}]
7
7
}
8
8
Original file line number Diff line number Diff line change 3
3
"type": "function",
4
4
"description": "Returns the file suffix (extension) from a file path.",
5
5
"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'"}]
7
7
}
8
8
You can’t perform that action at this time.
0 commit comments