// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include #include #include #include #include using namespace fsa; int main(int argc, char** argv) { if(argc<3){ std::cerr << "usage: fsamanager_test cache_dir fsa_file_or_url [fsa_file_or_url ...]\n"; return 1; } FSAManager::instance().setCacheDir(argv[1]); for(int i=2;i