public List <string> GetFileList(string path)
        {
            var result = _storage.GetFileNames(new StorageParameters {
                Path = path
            });

            result = result.Where(f => !f.ToLower().Contains("schema.json") && !f.ToLower().Contains("schema.migrations.json")).ToList();
            return(result);
        }
Exemplo n.º 2
0
        public List <string> GetFileList(string path)
        {
            //return (new string[] { "a", "b", "c" }).ToList();
            var result = _schemaStorage.GetFileNames(new StorageParameters {
                Path = path
            });

            result = result.Where(f => f.Contains(SchemaFileSuffix) && !f.Contains(SchemaMigrationsFileSuffix)).ToList();
            return(result);
        }