public static void register(Repository db) {if (db.getDirectory() != null) {FileKey key = FileKey.exact(db.getDirectory(), db.getFS());cache.registerRepository(key, db);}}

public static void Register(Repository db){if (db.Directory != null){RepositoryCache.FileKey key = RepositoryCache.FileKey.Exact(db.Directory, db.FileSystem);cache.RegisterRepository(key, db);}}
