swiftly/cli/iomanager.py
def client_path_to_os_path(self, client_path):
        """
        Converts a client path into the operating system's path by
        replacing instances of '/' with os.path.sep.

        Note: If the client path contains any instances of
        os.path.sep already, they will be replaced with '-'.
        """
        if os.path.sep == '/':
            return client_path
        return client_path.replace(os.path.sep, '-').replace('/', os.path.sep)
def client_path_to_os_path(self, client_path):
        """
        Converts a client path into the operating system's path by
        replacing instances of '/' with os.path.sep.

        Note: If the client path contains any instances of
        os.path.sep already, they will be replaced with '-'.
        """
        if os.path.sep == '/':
            return client_path
        return client_path.replace(os.path.sep, '-').replace('/', os.path.sep)
Converts a client path into the operating system's path by
        replacing instances of '/' with os.path.sep.

        Note: If the client path contains any instances of
        os.path.sep already, they will be replaced with '-'.