From 0d57e591cb4c9c8a6352902c1741ee1a3aa1894a Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sun, 19 Apr 2020 20:04:39 -0700 Subject: [PATCH] Pteroignore details --- .../components/server/files/FileEditContainer.tsx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/resources/scripts/components/server/files/FileEditContainer.tsx b/resources/scripts/components/server/files/FileEditContainer.tsx index afb1fa00c..f314744ef 100644 --- a/resources/scripts/components/server/files/FileEditContainer.tsx +++ b/resources/scripts/components/server/files/FileEditContainer.tsx @@ -83,6 +83,17 @@ export default () => { + {(name || hash.replace(/^#/, '')).endsWith('.pteroignore') && +
+

+ You're editing a .pteroignore file. + Any files or directories listed in here will be excluded from backups. Wildcards are supported by + using an asterisk (*). You can + negate a prior rule by prepending an exclamation point + (!). +

+
+ } setModalVisible(false)}