Documentation
¶
Overview ¶
Package pathmap resolves local filesystem paths to remote paths and vice versa using the Mapping rules from the project config.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mapper ¶
type Mapper struct {
// contains filtered or unexported fields
}
Mapper translates between local absolute paths and remote absolute paths.
func (*Mapper) LocalToRemote ¶
LocalToRemote converts an absolute local path to an absolute remote path. When any effective mappings are configured, the file must match one of them. Falls back to host.RootPath + relative path when no mappings are configured.
Click to show internal directories.
Click to hide internal directories.