Home
last modified time | relevance | path

Searched refs:FileUtils (Results 1 – 17 of 17) sorted by relevance

/interface/sdk-js/build-tools/dts_parser/test/testCase/
DrunTest.ts19 import { FileUtils } from '../../src/utils/FileUtils';
28 const testFileDir: string = path.join(FileUtils.getBaseDirName(), '/test/ut/parserSince');
29 const outputFileDir: string = path.join(FileUtils.getBaseDirName(), '/test/output/parserSince');
30 const expectFileDir: string = path.join(FileUtils.getBaseDirName(), '/test/expect/parserSince');
56 const testFileDir: string = path.join(FileUtils.getBaseDirName(), '/test/ut/parser');
57 const outputFileDir: string = path.join(FileUtils.getBaseDirName(), '/test/output/parser');
58 const expectFileDir: string = path.join(FileUtils.getBaseDirName(), '/test/expect/parser');
84 const testOldFileDir: string = path.join(FileUtils.getBaseDirName(), '/test/ut/apiDiff/old');
86 const outputFileDir: string = path.join(FileUtils.getBaseDirName(), '/test/output/apiDiff');
87 const expectFileDir: string = path.join(FileUtils.getBaseDirName(), '/test/expect/apiDiff');
/interface/sdk-js/build-tools/dts_parser/src/coreImpl/checker/
Dlocal_entry.ts19 import { FileUtils } from '../../utils/FileUtils';
29 const mdFilesPath = path.resolve(FileUtils.getBaseDirName(), '../mdFiles.txt');
/interface/sdk-js/build-tools/jsdoc_format_plugin/src/utils/
DfileUtils.ts21 export class FileUtils { class
40 files.push(...FileUtils.readFilesInDir(filePath, filter));
47 if (!FileUtils.isExists(parentDir)) {
/interface/sdk-js/build-tools/dts_parser/src/utils/
DFileUtils.ts24 export class FileUtils { class
59 files.push(...FileUtils.readFilesInDir(filePath, filter));
66 if (!FileUtils.isExists(parentDir)) {
DFunctionUtils.ts18 import { FileUtils } from './FileUtils';
59 const subsystemFilePath: string = path.join(FileUtils.getBaseDirName(), 'subsystem.json');
/interface/sdk-js/build-tools/openharmony_sdk_upgrade_assistant/src/main/java/com/update/check/action/view/
DUpdateCheckWizardDialog.java25 import com.update.check.utils.FileUtils;
122 private FileUtils fileUtils;
132 this.fileUtils = new FileUtils(); in UpdateCheckWizardDialog()
136 this.applicationApiType = FileUtils.getApplicationApiType(project.getBasePath()); in UpdateCheckWizardDialog()
138 this.lastDir = FileUtils.getLastDir(); in UpdateCheckWizardDialog()
172 … String sdkDir = FileUtils.getNodePath(this.project.getBasePath(), "local.properties", "sdk.dir"); in getNewSdkFilePath()
176 String compileSdkVersion = FileUtils.getCompileSdkVersion(this.project.getBasePath()); in getNewSdkFilePath()
212 FileUtils.writerJsonToFile(reportStr, this.reportPath + ConstString.get("check.report")); in saveReportToDisk()
236 … builder.directory(new File(FileUtils.getLastDir().split(":")[0] + ":\\updateCheck\\api-diff")); in runApiDiffTool()
260 builder.directory(new File(FileUtils.getLastDir().split(":")[0] + in runApiCollectTool()
[all …]
DUpdateReportPanel.java22 import com.update.check.utils.FileUtils;
307 FileUtils.readJsonFileToJavaList(resultJsonFile.toString(), in getReportResult()
/interface/sdk-js/build-tools/jsdoc_format_plugin/src/core/
Dentry.ts17 import { FileUtils } from '../utils/fileUtils';
96 const rawCodeStr = FileUtils.readFileContent(inputFilePath);
144 const allSourceFiles = FileUtils.readFilesInDir(intpuDir, (name) => {
150 const rawCodeStr = FileUtils.readFileContent(childFile);
DoutputProcessor.ts18 import { FileUtils } from '../utils/fileUtils';
38 FileUtils.writeStringToFile(outputContent, context.getOutputFile());
DcoreImpls.ts21 import { FileUtils } from '../utils/fileUtils';
849 if (FileUtils.isDirectory(this.inputFilePath)) {
884 if (!FileUtils.isExists(filePath)) {
890 return FileUtils.isDirectory(this.inputFilePath);
/interface/sdk-js/build-tools/dts_parser/src/
Dmain.ts21 import { FileUtils } from './utils/FileUtils';
64 if (collectPath === '' || !FileUtils.isExists(collectPath)) {
/interface/sdk-js/build-tools/openharmony_sdk_upgrade_assistant/src/main/java/com/update/check/utils/
DMyProjectHelper.java58 … String sdkPath = FileUtils.getNodePath(projectPath.getPath(), "local.properties", "sdk.dir"); in isOpenHarmonyProject()
DFileUtils.java48 public class FileUtils { class
49 private static final String LOG_TAG = FileUtils.class.getName();
/interface/sdk-js/build-tools/dts_parser/src/coreImpl/checker/src/
Dcheck_api_diff.ts20 import { FileUtils } from '../../../utils/FileUtils';
37 FileUtils.getBaseDirName(),
/interface/sdk-js/build-tools/dts_parser/src/bin/
Dconfig.ts19 import { FileUtils } from '../utils/FileUtils';
188 const fileDir: string = path.resolve(FileUtils.getBaseDirName(), options.collectPath);
191 if (FileUtils.isDirectory(fileDir)) {
322 const oldFileDir: string = path.resolve(FileUtils.getBaseDirName(), options.old);
323 const newFileDir: string = path.resolve(FileUtils.getBaseDirName(), options.new);
/interface/sdk-js/build-tools/dts_parser/
DREADME_zh.md35 | | ├─FileUtils.ts #文件工具
139 可以通过import src\utils\FileUtils.ts,通过FileUtils.getBaseDirName,获取当前项目的根目录,之后在通过文件相对路径获取文件
/interface/sdk-js/build-tools/dts_parser/src/coreImpl/parser/
Dparser.ts25 import { FileUtils } from '../../utils/FileUtils';
40 const files: Array<string> = FileUtils.readFilesInDir(fileDir, (name) => {