Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 22 of 22 for file_watcher (0.17 sec)

  1. pkg/filewatcher/fakefilewatcher_test.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package filewatcher
    
    import (
    	"fmt"
    	"testing"
    
    	"github.com/fsnotify/fsnotify"
    )
    
    func TestFakeFileWatcher(t *testing.T) {
    	addedChan := make(chan string, 10)
    	removedChan := make(chan string, 10)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 14:06:41 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. pkg/filewatcher/worker.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package filewatcher
    
    import (
    	"bufio"
    	"bytes"
    	"crypto/sha256"
    	"fmt"
    	"io"
    	"os"
    	"sync"
    
    	"github.com/fsnotify/fsnotify"
    )
    
    type worker struct {
    	mu sync.RWMutex
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 12 22:31:06 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top