mirror of
https://github.com/hierynomus/sshj.git
synced 2025-12-09 00:18:39 +03:00
make path util classes public
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
*/
|
*/
|
||||||
package net.schmizz.sshj.sftp;
|
package net.schmizz.sshj.sftp;
|
||||||
|
|
||||||
class PathComponents {
|
public class PathComponents {
|
||||||
|
|
||||||
public static String adjustForParent(String parent, String path) {
|
public static String adjustForParent(String parent, String path) {
|
||||||
return (path.startsWith("/")) ? path // Absolute path, nothing to adjust
|
return (path.startsWith("/")) ? path // Absolute path, nothing to adjust
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ package net.schmizz.sshj.sftp;
|
|||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
class PathHelper {
|
public class PathHelper {
|
||||||
|
|
||||||
private final SFTPEngine sftp;
|
private final SFTPEngine sftp;
|
||||||
private String dotDir;
|
private String dotDir;
|
||||||
|
|||||||
Reference in New Issue
Block a user