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

Improve usability when reading packages over a network share #14

Open
cohaereo opened this issue Jan 20, 2025 · 1 comment
Open

Improve usability when reading packages over a network share #14

cohaereo opened this issue Jan 20, 2025 · 1 comment

Comments

@cohaereo
Copy link
Member

A big improvement we can make is moving the tag cache from quicktag's directory, though for network shares we have a few smaller things to tackle

  1. Generating a new cache over network should be avoided. When a network cache gets invalidated we should prompt before trying to generate a new cache
  2. Copying the cache from the network is probably a good idea. We can add a hash/timestamp to the file if needed to check for changes so it can be re-copied automatically
  3. How do we even detect that we're on a network share
  4. ???
@nblockbuster
Copy link
Member

  1. How do we even detect that we're on a network share

On Windows, it looks like calling GetDriveTypeW on the root drive path/letter if it's a network share that's mapped to a drive letter would work. If it isn't, then checking if the path starts with \\ would probably work.

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

2 participants