文件操作 - connection_wrap.h
返回文件管理
返回主菜单
删除本文件
文件: /usr/include/nodejs/src/connection_wrap.h
编辑文件内容
#ifndef SRC_CONNECTION_WRAP_H_ #define SRC_CONNECTION_WRAP_H_ #if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS #include "stream_wrap.h" namespace node { class Environment; template <typename WrapType, typename UVType> class ConnectionWrap : public LibuvStreamWrap { public: static void OnConnection(uv_stream_t* handle, int status); static void AfterConnect(uv_connect_t* req, int status); protected: ConnectionWrap(Environment* env, v8::Local<v8::Object> object, ProviderType provider); UVType handle_; }; } // namespace node #endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS #endif // SRC_CONNECTION_WRAP_H_
修改文件时间
将文件时间修改为当前时间的前一年
删除文件