[gnome-games/gnome-40] file-operations: Make excluded arg in delete_files() optional
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/gnome-40] file-operations: Make excluded arg in delete_files() optional
- Date: Mon, 22 Mar 2021 07:29:51 +0000 (UTC)
commit af4cd602a2385b6470c33fdaa247d99441882600
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Mon Mar 22 12:21:27 2021 +0500
file-operations: Make excluded arg in delete_files() optional
src/utils/file-operations.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/utils/file-operations.vala b/src/utils/file-operations.vala
index c4a2f5cb..78ba4087 100644
--- a/src/utils/file-operations.vala
+++ b/src/utils/file-operations.vala
@@ -113,7 +113,7 @@ public class Games.FileOperations {
}
}
- public static void delete_files (File file, string[] excluded) throws Error {
+ public static void delete_files (File file, string[] excluded = {}) throws Error {
delete_files_recurse (file, excluded);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]