https://github.com/splatlab/squeakr
Revision 604dc85d1e09b2db641433d4fc70c8c4fdd60831 authored by Prashant Pandey on 01 June 2018, 06:10:07 UTC, committed by Prashant Pandey on 01 June 2018, 06:10:07 UTC
1 parent a072e10
Raw File
Tip revision: 604dc85d1e09b2db641433d4fc70c8c4fdd60831 authored by Prashant Pandey on 01 June 2018, 06:10:07 UTC
Using logger to log.
Tip revision: 604dc85
SqueakrFS.h
//
// Mantis : An efficient large-scale sequence search index
// Copyright (C) 2017 Prahsant Pandey, Fatemeh Almodaresi, Michael Bender, Michael Ferdman,
// Rob Johnson, Rob Patro
//
// This file is part of Squeakr.
//

#ifndef __SQUEAKR_FILESYSTEM_HPP__
#define __SQUEAKR_FILESYSTEM_HPP__

#include <vector>
#include <string>

namespace squeakr {
	namespace fs {
		// Taken from
		// http://stackoverflow.com/questions/12774207/fastest-way-to-check-if-a-file-exist-using-standard-c-c11-c
		bool FileExists(const char* path);
		// Taken from
		// http://stackoverflow.com/questions/12774207/fastest-way-to-check-if-a-file-exist-using-standard-c-c11-c
		bool DirExists(const char* path);
		void MakeDir(const char* path);
		// Taken from
		// https://stackoverflow.com/questions/19189014/how-do-i-find-files-with-a-specific-extension-in-a-directory-that-is-provided-by
		std::vector<std::string> GetFilesExt(const char *dir, const char *ext);
	}
}

#endif //__SQUEAKR_FILESYSTEM_HPP__
back to top