001package systems.dmx.files;
002
003import java.io.File;
004
005
006
007interface PathMapper {
008
009    /**
010     * Maps an absolute path to a repository path.
011     *
012     * @param   path    A canonic absolute path.
013     *
014     * @return  A repository path. Relative to the repository base path.
015     *          Begins with slash, no slash at the end.
016     */
017    String repoPath(File path);
018}