Add a note to Source#install explaining that it should be very light-weight.

Review URL: https://chromiumcodereview.appspot.com//10883072

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11421 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
nweiz@google.com 2012-08-27 22:21:37 +00:00
parent b128fea156
commit 18f8f5a72f

View file

@ -103,6 +103,10 @@ class Source {
* [path] is guaranteed not to exist, and its parent directory is guaranteed
* to exist.
*
* Note that [path] may be deleted. If re-installing a package that has
* already been installed would be costly or impossible,
* [installToSystemCache] should be implemented instead of [install].
*
* This doesn't need to be implemented if [installToSystemCache] is
* implemented.
*/