Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2096)

Unified Diff: pkg/watcher/lib/src/constructable_file_system_event.dart

Issue 812253002: Delete a bunch of packages that are now on GitHub. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Un-delete http Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/watcher/lib/src/async_queue.dart ('k') | pkg/watcher/lib/src/directory_watcher.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/watcher/lib/src/constructable_file_system_event.dart
diff --git a/pkg/watcher/lib/src/constructable_file_system_event.dart b/pkg/watcher/lib/src/constructable_file_system_event.dart
deleted file mode 100644
index d00a1dce7eab2e3bfbc5d3e7447deced0372f5b5..0000000000000000000000000000000000000000
--- a/pkg/watcher/lib/src/constructable_file_system_event.dart
+++ /dev/null
@@ -1,60 +0,0 @@
-// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-library watcher.constructable_file_system_event;
-
-import 'dart:io';
-
-abstract class _ConstructableFileSystemEvent implements FileSystemEvent {
- final bool isDirectory;
- final String path;
- int get type;
-
- _ConstructableFileSystemEvent(this.path, this.isDirectory);
-}
-
-class ConstructableFileSystemCreateEvent extends _ConstructableFileSystemEvent
- implements FileSystemCreateEvent {
- final type = FileSystemEvent.CREATE;
-
- ConstructableFileSystemCreateEvent(String path, bool isDirectory)
- : super(path, isDirectory);
-
- String toString() => "FileSystemCreateEvent('$path')";
-}
-
-class ConstructableFileSystemDeleteEvent extends _ConstructableFileSystemEvent
- implements FileSystemDeleteEvent {
- final type = FileSystemEvent.DELETE;
-
- ConstructableFileSystemDeleteEvent(String path, bool isDirectory)
- : super(path, isDirectory);
-
- String toString() => "FileSystemDeleteEvent('$path')";
-}
-
-class ConstructableFileSystemModifyEvent extends _ConstructableFileSystemEvent
- implements FileSystemModifyEvent {
- final bool contentChanged;
- final type = FileSystemEvent.MODIFY;
-
- ConstructableFileSystemModifyEvent(String path, bool isDirectory,
- this.contentChanged)
- : super(path, isDirectory);
-
- String toString() =>
- "FileSystemModifyEvent('$path', contentChanged=$contentChanged)";
-}
-
-class ConstructableFileSystemMoveEvent extends _ConstructableFileSystemEvent
- implements FileSystemMoveEvent {
- final String destination;
- final type = FileSystemEvent.MOVE;
-
- ConstructableFileSystemMoveEvent(String path, bool isDirectory,
- this.destination)
- : super(path, isDirectory);
-
- String toString() => "FileSystemMoveEvent('$path', '$destination')";
-}
« no previous file with comments | « pkg/watcher/lib/src/async_queue.dart ('k') | pkg/watcher/lib/src/directory_watcher.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698