New DataStore.fileExists(pathname) API call
オープン
@EduardMe がすでに取り組んでいます。
2023年2月4日 から。
API
E-1
enhancement
P-3
- 主要言語
- JavaScript
- スター
- 204
- フォーク
- 82
- 平均マージ
- 22時間 27分
- マージ済み PR(30日)
- 3
説明
Now that we're using shared libraries, we could do with a way to check files are present. Currently we have to use .loadData(pathname) to check for this. Some of these files (react and fonts) are quite large, and we're concerned about the time it takes to load them just to test if they are there and throw the loaded file away. Better to have a DataStore.fileExists(pathname) call, which would be nearly instantaneous.
[edit to add] More importantly, I now realise, it avoids an error being thrown, which currently is what happens if pathname doesn't exist.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
評価
この issue はまだ評価されていません。