Skip to content
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

Storing encoding metadata about hyperdrive files #372

Open
josephmturner opened this issue Aug 24, 2024 · 0 comments
Open

Storing encoding metadata about hyperdrive files #372

josephmturner opened this issue Aug 24, 2024 · 0 comments

Comments

@josephmturner
Copy link
Contributor

It would be useful to have either a specified or de facto standard location to store hyperdrive file encodings.

hypercore-fetch and hypercore-fetch-ushin store timestamp data inside entry.value.metadata.mtime. It would similarly be useful to store encoding metadata inside entry.value.metadata:

{
  encoding: "utf-8" // or "iso-8859-1", "big5", etc.
}

Do you know of any hypercore applications that already store encoding data somehow?

Similar discussion in hypercore-fetch

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

No branches or pull requests

1 participant