/dports/devel/py-nbdime/nbdime-3.1.1/nbdime/tests/ |
H A D | test_merge.py | 114 assert d.common_path == () 127 assert d.common_path == () 131 assert d.common_path == () 142 assert d.common_path == () 146 assert d.common_path == () 150 assert d.common_path == () 259 assert d.common_path == () 265 assert d.common_path == () 283 assert d.common_path == () 315 assert d.common_path == () [all …]
|
H A D | test_decision_tools.py | 75 assert b.decisions[0].common_path == ("a", "b", "c") 84 common_path=("a", "b"), 96 common_path=("a", "b"), 104 assert dec.common_path == ("a", "b", "c") 111 common_path=("a", "b"), 119 assert dec.common_path == ("a", "b", "c", "d")
|
H A D | test_apply_merge.py | 45 keys = [k for k in dec.common_path.split("/") if k != ""] 73 def create_decision_item(action=None, common_path="", conflict=False, argument 93 "common_path": common_path, 140 common_path=path,
|
/dports/net-p2p/bazarr/bazarr-1.0.2/libs/git/refs/ |
H A D | remote.py | 19 def iter_items(cls, repo, common_path=None, remote=None): argument 21 common_path = common_path or cls._common_path_default 23 common_path = join_path(common_path, str(remote)) 25 return super(RemoteReference, cls).iter_items(repo, common_path)
|
H A D | symbolic.py | 594 def _iter_items(cls, repo, common_path=None): argument 595 if common_path is None: 596 common_path = cls._common_path_default 601 for root, dirs, files in os.walk(join_path_native(repo.common_dir, common_path)): 618 if rela_path.startswith(common_path): 632 def iter_items(cls, repo, common_path=None): argument 649 …return (r for r in cls._iter_items(repo, common_path) if r.__class__ == SymbolicReference or not r…
|
/dports/devel/py-gitpython/GitPython-3.1.24/git/refs/ |
H A D | remote.py | 29 def iter_items(cls, repo: 'Repo', common_path: Union[PathLike, None] = None, 33 common_path = common_path or cls._common_path_default 35 common_path = join_path(common_path, str(remote)) 38 return super(RemoteReference, cls).iter_items(repo, common_path)
|
/dports/devel/upp/upp/uppsrc/TextDiffCtrl/ |
H A D | patch.cpp | 72 common_path.Clear(); in Load() 78 common_path = GetFileFolder(h[0]); in Load() 80 common_path.Trim(MatchLen(common_path, h[i])); in Load() 81 common_path.TrimEnd("/"); in Load() 82 common_path.TrimStart("/"); in Load() 83 if(common_path.GetCount()) in Load() 85 file.SetKey(i, h[i].Mid(common_path.GetCount() + 1)); in Load() 116 String com_path = common_path; in MatchFiles()
|
/dports/devel/py-babel/Babel-2.9.1/scripts/ |
H A D | download_import_cldr.py | 87 common_path = os.path.join(cldr_path, 'common') 89 if changed or not os.path.isdir(common_path): 90 if os.path.isdir(common_path): 92 shutil.rmtree(common_path) 101 common_path])
|
/dports/devel/py-nbdime/nbdime-3.1.1/nbdime/merging/ |
H A D | decisions.py | 45 return (self.common_path or ())[level:] 117 common_path=path, 392 common_path=decision.common_path + (popped["key"],), 426 if len(dec.common_path) == 0: 430 assert dec.common_path[-1] == key, "Key %r not at end of %r" % ( 431 key, dec.common_path) 432 dec.common_path = dec.common_path[:-1] # pop key 467 for s in k.common_path: 517 path = md.common_path[:] 615 path, line = split_string_path(merged, md.common_path)
|
H A D | strategies.py | 49 def adjust_patch_level(target_path, common_path, diff): argument 51 assert common_path[:n] == target_path 54 remainder_path = tuple(reversed(common_path[n:])) 70 ld = adjust_patch_level(path, d.common_path, d.local_diff) 71 rd = adjust_patch_level(path, d.common_path, d.remote_diff) 84 ld = adjust_patch_level(path, d.common_path, d.local_diff) 127 assert base_path == d.common_path[:level], ( 129 if len(d.common_path) > level: 131 key = d.common_path[level] 133 prefix = d.common_path[level:] [all …]
|
/dports/devel/py-nbdime/nbdime-3.1.1/packages/nbdime/test/src/merge/ |
H A D | decisions.spec.ts | 44 common_path: ['a', 0, '32', 'foo', 'bar'] 54 expect(value.absolutePath).toEqual(jsonStructure.common_path); 59 jsonStructure.common_path!, 96 expect(value.absolutePath).toEqual(jsonStructure.common_path); 101 expect(value.localPath).toEqual(jsonStructure.common_path); 352 common_path: ['cells', 3, 'source'] 638 common_path: ['metadata', 'secret'] 643 common_path: ['metadata'] 647 common_path: ['seq'] 652 common_path: ['seq'] [all …]
|
/dports/devel/py-frozendict/frozendict-2.1.1/test/ |
H A D | test_frozendict_c.py | 11 common_path = curr_dir / "common.py" variable 13 with open(common_path) as f:
|
H A D | test_frozendict_c_subclass.py | 20 common_path = curr_dir / "common.py" variable 22 with open(common_path) as f:
|
H A D | test_frozendict_subclass.py | 15 common_path = curr_dir / "common.py" variable 22 with open(common_path) as f:
|
H A D | test_coold_subclass.py | 20 common_path = curr_dir / "common.py" variable 22 with open(common_path) as f:
|
H A D | test_coold.py | 11 common_path = curr_dir / "common.py" variable 13 with open(common_path) as f:
|
/dports/devel/py-pyinstaller/PyInstaller-3.5/PyInstaller/utils/hooks/ |
H A D | gi.py | 121 common_path = os.path.commonprefix([base_prefix, path]) 122 if common_path == '/': 124 common_path = os.path.abspath(os.path.join(path, '..', '..', '..')) 126 gir_path = os.path.join(common_path, 'share', 'gir-1.0')
|
/dports/devel/liblnk/liblnk-20210417/liblnk/ |
H A D | liblnk_location_information.c | 155 if( ( *location_information )->common_path != NULL ) in liblnk_location_information_free() 158 ( *location_information )->common_path ); in liblnk_location_information_free() 1641 location_information->common_path = (uint8_t *) memory_allocate( in liblnk_location_information_read_data() 1644 if( location_information->common_path == NULL ) in liblnk_location_information_read_data() 1656 location_information->common_path, in liblnk_location_information_read_data() 1677 if( location_information->common_path == NULL ) in liblnk_location_information_read_data() 1689 location_information->common_path, in liblnk_location_information_read_data() 1715 location_information->common_path, in liblnk_location_information_read_data() 1757 if( location_information->common_path != NULL ) in liblnk_location_information_read_data() 1760 location_information->common_path ); in liblnk_location_information_read_data() [all …]
|
/dports/devel/py-fastimport/fastimport-0.9.14/fastimport/ |
H A D | helpers.py | 37 def common_path(path1, path2): function 66 common = common_path(paths[0], paths[1]) 68 common = common_path(common, path)
|
/dports/science/py-kliff/kliff-0.3.0/kliff/analyzers/ |
H A D | rmse.py | 190 def _compute_single_config(self, ca, normalize, verbose, common_path, prefix): argument 223 if conf_path.startswith(common_path): 224 base = conf_path[len(common_path) :] 228 conf_path, common_path
|
/dports/devel/ding-libs/ding-libs-0.6.1/path_utils/ |
H A D | path_utils.c | 447 int common_path_prefix(char *common_path, in common_path_prefix() argument 456 if (!common_path || common_path_size < 1) return ENOBUFS; in common_path_prefix() 470 *common_path = 0; in common_path_prefix() 480 *common_path = 0; in common_path_prefix() 484 dst = common_path; in common_path_prefix() 485 dst_end = common_path + common_path_size - 1; /* -1 allows for NULL terminator */ in common_path_prefix()
|
/dports/devel/jsoncpp/jsoncpp-1.9.5/devtools/ |
H A D | tarball.py | 25 common_path = os.path.commonprefix((base_dir, path)) 26 archive_name = path[len(common_path):]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/jsoncpp/source/devtools/ |
H A D | tarball.py | 25 common_path = os.path.commonprefix((base_dir, path)) 26 archive_name = path[len(common_path):]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/jsoncpp/source/devtools/ |
H A D | tarball.py | 25 common_path = os.path.commonprefix((base_dir, path)) 26 archive_name = path[len(common_path):]
|
/dports/devel/git-cola/git-cola-3.10.1/cola/ |
H A D | git.py | 160 common_path = core.read(commondir_file).strip() 161 if common_path: 162 if os.path.isabs(common_path): 163 common_dir = common_path 165 common_dir = join(git_dir_path, common_path)
|