Skip to content

Commit

Permalink
Rename files for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
devongovett committed Apr 5, 2019
1 parent 23a7caf commit cb1bf1a
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"target_name": "fschanges",
"defines": [ "NAPI_DISABLE_CPP_EXCEPTIONS" ],
"sources": [ "src/FSChanges.cc", "src/Watcher.cc", "src/Backend.cc", "src/DirTree.cc" ],
"sources": [ "src/binding.cc", "src/Watcher.cc", "src/Backend.cc", "src/DirTree.cc" ],
"include_dirs" : ["<!@(node -p \"require('node-addon-api').include\")"],
"dependencies": ["<!(node -p \"require('node-addon-api').gyp\")"],
'cflags!': [ '-fno-exceptions' ],
Expand All @@ -12,10 +12,10 @@
['OS=="mac"', {
"sources": [
"src/watchman/BSER.cc",
"src/watchman/watchman.cc",
"src/watchman/WatchmanBackend.cc",
"src/shared/BruteForceBackend.cc",
"src/unix/fts.cc",
"src/macos/FSEvents.cc"
"src/macos/FSEventsBackend.cc"
],
"link_settings": {
"libraries": ["CoreServices.framework"]
Expand All @@ -32,7 +32,7 @@
['OS=="linux"', {
"sources": [
"src/watchman/BSER.cc",
"src/watchman/watchman.cc",
"src/watchman/WatchmanBackend.cc",
"src/shared/BruteForceBackend.cc",
"src/linux/InotifyBackend.cc",
"src/unix/fts.cc"
Expand All @@ -46,7 +46,7 @@
['OS=="win"', {
"sources": [
"src/watchman/BSER.cc",
"src/watchman/watchman.cc",
"src/watchman/WatchmanBackend.cc",
"src/shared/BruteForceBackend.cc",
"src/windows/WindowsBackend.cc",
"src/windows/win_utils.cc"
Expand Down
4 changes: 2 additions & 2 deletions src/Backend.cc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#ifdef FS_EVENTS
#include "macos/FSEvents.hh"
#include "macos/FSEventsBackend.hh"
#endif
#ifdef WATCHMAN
#include "watchman/watchman.hh"
#include "watchman/WatchmanBackend.hh"
#endif
#ifdef WINDOWS
#include "windows/WindowsBackend.hh"
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/macos/FSEvents.cc → src/macos/FSEventsBackend.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <unordered_set>
#include "../Event.hh"
#include "../Backend.hh"
#include "./FSEvents.hh"
#include "./FSEventsBackend.hh"
#include "../Watcher.hh"

#define CONVERT_TIME(ts) ((uint64_t)ts.tv_sec * 1000000000 + ts.tv_nsec)
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "../DirTree.hh"
#include "../Event.hh"
#include "./BSER.hh"
#include "./watchman.hh"
#include "./WatchmanBackend.hh"

#ifdef _WIN32
#include "../windows/win_utils.hh"
Expand Down
File renamed without changes.

0 comments on commit cb1bf1a

Please sign in to comment.