文件操作 - Glob.hh
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/@parcel/watcher/src/Glob.hh
编辑文件内容
#ifndef GLOB_H #define GLOB_H #include <unordered_set> #include <regex> struct Glob { std::size_t mHash; std::string mRaw; #ifndef __wasm32__ std::regex mRegex; #endif Glob(std::string raw); bool operator==(const Glob &other) const { return mHash == other.mHash; } bool isIgnored(std::string relative_path) const; }; namespace std { template <> struct hash<Glob> { size_t operator()(const Glob& g) const { return g.mHash; } }; } #endif
修改文件时间
将文件时间修改为当前时间的前一年
删除文件