Skip to content

[stable/20230725][cas/libclang] Add libclang APIs for restricting the size of the local CAS directory #7990

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

akyrtzi
Copy link

@akyrtzi akyrtzi commented Jan 17, 2024

The new APIs allow the client to:

  • Get the current size
  • Set a size limit in bytes
  • Prune data from the directory

The client decides how to derive the proper size limit.

rdar://121129053

…l CAS directory

The new APIs allow the client to:
* Get the current size
* Set a size limit in bytes
* Prune data from the directory

The client decides how to derive the proper size limit.

rdar://121129053
@akyrtzi
Copy link
Author

akyrtzi commented Jan 17, 2024

@swift-ci Please test

@akyrtzi
Copy link
Author

akyrtzi commented Jan 18, 2024

@swift-ci Please test Windows platform

@akyrtzi akyrtzi merged commit 7056313 into swiftlang:stable/20230725 Jan 18, 2024
@akyrtzi akyrtzi deleted the akyrtzi/pr/stable-cas-storage-control branch January 18, 2024 23:59
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.

1 participant