We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I would like to have a similar capability, but due to the privacy of the methods, it is not possible.
static func cacheVideo( localURL: URL, remoteURL: URL ) async { guard let data = try? Data(contentsOf: localURL) else { return } let fileManager = FileManager.default let filePath = VideoCacheManager.cachedFilePath(for: remoteURL) do { try fileManager.copyItem(atPath: localURL.path, toPath: filePath) let config = try VideoCacheManager.cachedConfiguration(for: remoteURL) config.add(fragment: 0..<data.count) config.save() } catch { print(error) } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I would like to have a similar capability, but due to the privacy of the methods, it is not possible.
The text was updated successfully, but these errors were encountered: