(root fs.FS)
| 86 | } |
| 87 | |
| 88 | func GetModulesArchive(root fs.FS) ([]byte, []string, error) { |
| 89 | return GetModulesArchiveWithLimit(root, MaximumModuleArchiveSize) |
| 90 | } |
| 91 | |
| 92 | // GetModulesArchiveWithLimit returns the tar archive, the skipped modules, and an error if any. |
| 93 | func GetModulesArchiveWithLimit(root fs.FS, maxArchiveSize int64) ([]byte, []string, error) { |