mirror of
https://github.com/dart-lang/sdk
synced 2024-09-20 13:31:19 +00:00
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:
parent
b128fea156
commit
18f8f5a72f
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue