소스 검색

[misc] delete commented ProjectSize task

Jakob Ackermann 5 년 전
부모
커밋
00c14ee624
1개의 변경된 파일0개의 추가작업 그리고 26개의 파일을 삭제
  1. 0 26
      tasks/ProjectSize.js

+ 0 - 26
tasks/ProjectSize.js

@@ -1,26 +0,0 @@
-// TODO: This file was created by bulk-decaffeinate.
-// Sanity-check the conversion and remove this comment.
-// require("coffee-script")
-
-// fs = require("fs")
-// _ = require("underscore")
-
-// if not process.argv[2]
-//     console.log "Usage: coffee project_size.coffee user_files_path"
-// else
-//     dirPath = process.argv[2]
-//     if not fs.lstatSync(dirPath).isDirectory()
-//         console.log dirPath + " directory not exist"
-//     else
-//         fs.readdir dirPath, (err, files)->
-//             projects = []
-//             files.forEach (file)->
-//                 project_id = file.split("_")[0]
-//                 if !projects[project_id]
-//                     projects[project_id] = 0
-//                 projects[project_id] += fs.lstatSync(dirPath+"/"+file).size
-
-//             ids = _.keys projects
-//             console.log "project \t size"
-//             ids.forEach (id)->
-//                 console.log id + "\t" + projects[id]