fix build config file checkSlip
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
+
import cn.hutool.core.io.FileUtil;
import io.jpom.util.CommandUtil;
import org.junit.Test;
import java.io.File;
import java.io.IOException;
+import java.nio.file.FileSystems;
+import java.nio.file.Path;
/**
* Created by jiangzeyin on 2019/3/15.
@@ -58,4 +61,10 @@ public class TestFile {
System.out.println(file.isHidden());
}
+ @Test
+ public void testSystemFile() {
+ Path path = FileSystems.getDefault().getPath("~", "runs", "../Dockerfile");
+ System.out.println(path);
+ }
+
}
