no message

main
이범준 1 year ago
parent a21282e452
commit 87a70fdc19

@ -8,7 +8,8 @@ import java.util.List;
public class DirectoryStructureToJson {
public static Node getNode(File fileNode) throws IOException{
if(fileNode.isDirectory()){
if(fileNode.isDirectory() || fileNode.getName().equals("files")){
return new Node(fileNode.getName(),"directory", getDirList(fileNode));
}else{
return new Node(fileNode.getName(),"file",null);

Loading…
Cancel
Save