コード例 #1
0
        JournalDirResult TestJournalDirectory(string path)
        {
            if (path == null || !Directory.Exists(path))
            {
                return(JournalDirResult.DoesntExist);
            }

            if (!Filesystem.DoesFolderHaveJournals(path))
            {
                return(JournalDirResult.NoJournals);
            }

            return(JournalDirResult.OK);
        }