Searched refs:filepath (Results 1 – 5 of 5) sorted by relevance
65 static inline ssize_t get_file_size(const char *filepath) in get_file_size() argument69 if (filepath == NULL) in get_file_size()72 if (stat(filepath, &info) < 0) in get_file_size()78 static inline ssize_t get_file_blocks_size(const char *filepath) in get_file_blocks_size() argument82 if (filepath == NULL) in get_file_blocks_size()85 if (stat(filepath, &info) < 0) in get_file_blocks_size()
133 let filepath = ''135 filepath = this.newFilePath137 filepath = this.currentSelectedBoard139 if (filepath.length > 0) {140 configurator.loadBoard(filepath)144 if (useNewFile && filepath !== this.currentSelectedBoard) {157 alert(`Loading ${filepath} failed: ${err}`)200 res.map((filepath) => {201 if (filepath.path.search('\\.board\\.xml') !== -1) {202 boardPath = filepath.path
137 res.map((filepath) => {138 if (filepath.path.search('scenario') != -1) {139 scenarioPath = filepath.path
17 def add_child_with_file_contents(parent_node, tag, filepath, translations = {}): argument19 with open(filepath, "r") as f:
257 Ok(filepath) => match fs::remove_file(&filepath) { in write_board()262 filepath.to_str().unwrap_or_else(|| "").to_string(), in write_board()
Completed in 8 milliseconds