From 4c67bf71c4dab1f6bcd0c5a9248a0318c2da68bd Mon Sep 17 00:00:00 2001 From: Jonathan Treffler Date: Thu, 8 Jun 2023 18:23:09 +0200 Subject: [PATCH] added SnapshotManager, added simple function to list snapshots --- appinfo/info.xml | 2 +- lib/AppInfo/Application.php | 2 +- lib/Manager/SnapshotManager.php | 16 ++++++++++++++++ 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 lib/Manager/SnapshotManager.php diff --git a/appinfo/info.xml b/appinfo/info.xml index fcd0380..054b554 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -12,6 +12,6 @@ files https://git.verdigado.com/verdigado/nextcloud_groupfolder_filesystem_snapshots/issues - + diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php index 19d31a1..d3117b6 100644 --- a/lib/AppInfo/Application.php +++ b/lib/AppInfo/Application.php @@ -1,6 +1,6 @@ isDir()) continue; + yield $fileinfo->getFilename(); + } + } +} \ No newline at end of file