From e23f82f3c1987f7d275ad638f43d735d4081f69b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gilles=20Roudi=C3=A8re?= Date: Wed, 19 Oct 2022 10:46:51 +0200 Subject: Expose the logic to recognize a save path in ResourceSaver --- doc/classes/ResourceFormatSaver.xml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc/classes') diff --git a/doc/classes/ResourceFormatSaver.xml b/doc/classes/ResourceFormatSaver.xml index 05bfcf3446..1f2af6d157 100644 --- a/doc/classes/ResourceFormatSaver.xml +++ b/doc/classes/ResourceFormatSaver.xml @@ -24,6 +24,15 @@ Returns whether the given resource object can be saved by this saver. + + + + + + Returns [code]true[/code] if this saver handles a given save path and [code]false[/code] otherwise. + If this method is not implemented, the default behavior returns whether the path's extension is within the ones provided by [method _get_recognized_extensions]. + + -- cgit v1.2.3