Skip to content

Conversation

@sigurdm
Copy link
Contributor

@sigurdm sigurdm commented Apr 25, 2024

This file can be used for the fast path of ensureUpToDate to find the root pubspec.yaml without parsing the intermediate pubspec.yaml files.

Part of #4239
Related to dart-lang/sdk#55548

@sigurdm sigurdm requested review from jonasfj and szakarias April 25, 2024 13:14
@kevmoo
Copy link
Member

kevmoo commented Apr 25, 2024

is pub a reserved package name? In general, .dart_tool/XYZ/ XYZ should be namespaced by a package name to minimize change of collisions

@sigurdm
Copy link
Contributor Author

sigurdm commented Apr 26, 2024

Yes it is reserved: https://github.com/dart-lang/pub-dev/blob/720c134eab618ed62f7a09bfe8eef1577d6a1a16/app/lib/package/overrides.dart#L29

@sigurdm
Copy link
Contributor Author

sigurdm commented Apr 26, 2024

Also pub already writes to this folder (snapshots for dart run).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants