Remove range-v3 dependencies
This commit is contained in:
parent
fb593c468c
commit
9c19680b55
@ -19,11 +19,6 @@
|
||||
#include <codecvt>
|
||||
#include <boost/algorithm/string/replace.hpp>
|
||||
|
||||
#include <range/v3/view/split.hpp>
|
||||
#include <range/v3/view/join.hpp>
|
||||
#include <range/v3/view/filter.hpp>
|
||||
#include <range/v3/range/conversion.hpp>
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#include <dokan/dokan.h>
|
||||
#endif
|
||||
@ -480,14 +475,14 @@ int Fuse::ftruncate(int64_t size, uint64_t fh) {
|
||||
}
|
||||
}
|
||||
|
||||
int Fuse::utimens(const bf::path &path, const std::array<timespec, 2> times) {
|
||||
int Fuse::utimens(const bf::path &path, const timespec lastAccessTime, const timespec lastModificationTime) {
|
||||
ThreadNameForDebugging _threadName("utimens");
|
||||
#ifdef FSPP_LOG
|
||||
LOG(DEBUG, "utimens({}, _)", path);
|
||||
#endif
|
||||
try {
|
||||
ASSERT(is_valid_fspp_path(path), "has to be an absolute path");
|
||||
_fs->utimens(path, times[0], times[1]);
|
||||
_fs->utimens(path, lastAccessTime, lastModificationTime);
|
||||
#ifdef FSPP_LOG
|
||||
LOG(DEBUG, "utimens({}, _): success", path);
|
||||
#endif
|
||||
|
@ -49,7 +49,7 @@ public:
|
||||
int chown(const boost::filesystem::path &path, ::uid_t uid, ::gid_t gid);
|
||||
int truncate(const boost::filesystem::path &path, int64_t size);
|
||||
int ftruncate(int64_t size, uint64_t fh);
|
||||
int utimens(const boost::filesystem::path &path, const std::array<timespec, 2> times);
|
||||
int utimens(const boost::filesystem::path &path, const timespec lastAccessTime, const timespec lastModificationTime);
|
||||
int open(const boost::filesystem::path &path, uint64_t* fh, int flags);
|
||||
int release(uint64_t fh);
|
||||
int read(char *buf, size_t size, int64_t offset, uint64_t fh);
|
||||
|
Loading…
Reference in New Issue
Block a user