Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FSRepacker ¶
type FSRepacker interface { // Relativer returns relative path for given file name against predefined root Relativer(path string) (string, error) // Destinator joins given path with some predefined root Destinator(path string) string }
FSRepacker methods for names transformations during repack process. For instance, gitlab.com returns `project-name@major/vX.Y.Z and go modules proxy needs `gitlab.com/<owner>/project-name>[/vX for X >= 2]` The process to transform a path is two-phased:
Click to show internal directories.
Click to hide internal directories.