Skip to content
Permalink
Browse files

feat: add processor.has to check for known files

  • Loading branch information...
tivac committed Jan 9, 2019
1 parent d5ca5c0 commit df5ac6f067a510768584a351b8cb294499c3e82e
Showing with 7 additions and 0 deletions.
  1. +7 −0 packages/processor/processor.js
@@ -143,6 +143,13 @@ class Processor {
return files;
}

// Check if a file exists in the currently-processed set
has(input) {
const file = this._normalize(input);

return file in this._files;
}

// Mark a file and everything that depends on it as invalid so
// it can be overwritten
invalidate(input) {

0 comments on commit df5ac6f

Please sign in to comment.
You can’t perform that action at this time.