| Index: sdk/lib/_internal/pub/lib/src/source/path.dart
 | 
| diff --git a/sdk/lib/_internal/pub/lib/src/source/path.dart b/sdk/lib/_internal/pub/lib/src/source/path.dart
 | 
| index 809481e5e1ed23ad8ce8108a286ce8c538dc81dc..6a9363ac0054231844e59a0795b63a5ec8b4034d 100644
 | 
| --- a/sdk/lib/_internal/pub/lib/src/source/path.dart
 | 
| +++ b/sdk/lib/_internal/pub/lib/src/source/path.dart
 | 
| @@ -52,6 +52,13 @@ class PathSource extends Source {
 | 
|      });
 | 
|    }
 | 
|  
 | 
| +  Future<String> getDirectory(PackageId id) {
 | 
| +    return newFuture(() {
 | 
| +      _validatePath(id.name, id.description);
 | 
| +      return id.description["path"];
 | 
| +    });
 | 
| +  }
 | 
| +
 | 
|    /// Parses a path dependency. This takes in a path string and returns a map.
 | 
|    /// The "path" key will be the original path but resolved relative to the
 | 
|    /// containing path. The "relative" key will be `true` if the original path
 | 
| 
 |