Bloom.Edit.Configurator.IsConfigurable C# (CSharp) Method

IsConfigurable() public static method

public static IsConfigurable ( string folderPath ) : bool
folderPath string
return bool
        public static bool IsConfigurable(string folderPath)
        {
            //enhance: would make sense to just work with books, but setting up books in tests is currently painful.
            //When we make a class to make that easy, we should switch this.
            //BookStorage storage = new BookStorage(folderPath, null);
            //return (null != FindConfigurationPage(dom));

            return RobustFile.Exists(Path.Combine(folderPath, "configuration.html"));
        }