Home
last modified time | relevance | path

Searched refs:has_file (Results 1 – 25 of 270) sorted by relevance

1234567891011

/dports/devel/R-cran-rprojroot/rprojroot/inst/doc/
H A Drprojroot.R11 rprojroot::has_file(".git/index")
37 dir(find_root(has_file("DESCRIPTION")))
50 has_file("DESCRIPTION")
54 rel_path_from_root <- find_root_file("R", "rrmake.R", criterion = has_file("DESCRIPTION"))
61 rel_path_from_root <- find_root_file("R", "rrmake.R", criterion = has_file("DESCRIPTION"))
65 rel_path_from_root <- find_root_file("R", "rrmake.R", criterion = has_file("DESCRIPTION"))
71 has_file("DESCRIPTION")
80 has_license <- has_file("LICENSE")
83 is_projecttemplate_project <- has_file("config/global.dcf", "^version: ")
/dports/www/firefox/firefox-99.0/third_party/rust/l10nregistry/tests/
H A Dsource.rs170 assert_eq!(fs1.has_file(&en_us, &path), None); in test_fetch_has_value_required_sync()
172 assert_eq!(fs1.has_file(&en_us, &path), Some(true)); in test_fetch_has_value_required_sync()
174 assert_eq!(fs1.has_file(&en_us, &path_missing), None); in test_fetch_has_value_required_sync()
189 assert_eq!(fs1.has_file(&en_us, &path), None); in test_fetch_has_value_optional_sync()
191 assert_eq!(fs1.has_file(&en_us, &path), Some(true)); in test_fetch_has_value_optional_sync()
193 assert_eq!(fs1.has_file(&en_us, &path_missing), None); in test_fetch_has_value_optional_sync()
208 assert_eq!(fs1.has_file(&en_us, &path), None); in test_fetch_has_value_required_async()
211 assert_eq!(fs1.has_file(&en_us, &path), Some(true)); in test_fetch_has_value_required_async()
213 assert_eq!(fs1.has_file(&en_us, &path_missing), None); in test_fetch_has_value_required_async()
239 assert_eq!(fs1.has_file(&en_us, &path), None); in test_fetch_has_value_optional_async()
[all …]
/dports/lang/zig-devel/zig-0.9.0/lib/std/io/
H A Dstream_source.zig10 const has_file = (builtin.os.tag != .freestanding);
21 file: if (has_file) std.fs.File else void,
23 …pub const ReadError = io.FixedBufferStream([]u8).ReadError || (if (has_file) std.fs.File.ReadError…
25 …pub const SeekError = io.FixedBufferStream([]u8).SeekError || (if (has_file) std.fs.File.SeekError…
26 …pub const GetSeekPosError = io.FixedBufferStream([]u8).GetSeekPosError || (if (has_file) std.fs.Fi…
44 .file => |x| if (!has_file) unreachable else return x.read(dest),
52 .file => |x| if (!has_file) unreachable else return x.write(bytes),
60 .file => |x| if (!has_file) unreachable else return x.seekTo(pos),
68 .file => |x| if (!has_file) unreachable else return x.seekBy(amt),
76 .file => |x| if (!has_file) unreachable else return x.getEndPos(),
[all …]
/dports/lang/zig/zig-0.9.0/lib/std/io/
H A Dstream_source.zig10 const has_file = (builtin.os.tag != .freestanding);
21 file: if (has_file) std.fs.File else void,
23 …pub const ReadError = io.FixedBufferStream([]u8).ReadError || (if (has_file) std.fs.File.ReadError…
25 …pub const SeekError = io.FixedBufferStream([]u8).SeekError || (if (has_file) std.fs.File.SeekError…
26 …pub const GetSeekPosError = io.FixedBufferStream([]u8).GetSeekPosError || (if (has_file) std.fs.Fi…
44 .file => |x| if (!has_file) unreachable else return x.read(dest),
52 .file => |x| if (!has_file) unreachable else return x.write(bytes),
60 .file => |x| if (!has_file) unreachable else return x.seekTo(pos),
68 .file => |x| if (!has_file) unreachable else return x.seekBy(amt),
76 .file => |x| if (!has_file) unreachable else return x.getEndPos(),
[all …]
/dports/devel/R-cran-rprojroot/rprojroot/tests/testthat/
H A Dtest-root.R3 expect_true(is_root_criterion(has_file("DESCRIPTION")))
20 lapply(has_file("x"), reset_env)
29 expect_snapshot(has_file("a", contents = "foo", fixed = TRUE))
64 expect_equal(find_root(has_file("DESCRIPTION", "^Package: ", 1), path = path), hierarchy(1L)),
65 expect_equal(find_root(has_file("DESCRIPTION", "^Package: "), path = path), hierarchy(1L)),
66 …expect_equal(find_root(has_file("DESCRIPTION", "package* does", fixed = TRUE), path = path), hiera…
76 find_root(has_file("e", "f"), path = path),
80 find_root(has_file("e", "f", 1), path = path),
83 expect_error(has_file("/a"), "absolute"),
/dports/net-im/licq-jabber/licq-f271d55/scripts/
H A Dcreate-licq-tarball200 function has_file()
218 if has_file "Makefile.cvs"; then
224 if has_file plugins; then
236 if has_file "plugins/${plugin}/Makefile.cvs"; then
237 if ! has_file "plugins/${plugin}/admin"; then
260 if ${TEST_BUILD} && ! has_file "admin"; then
/dports/net-im/licq-qt-gui/licq-f271d55/scripts/
H A Dcreate-licq-tarball200 function has_file()
218 if has_file "Makefile.cvs"; then
224 if has_file plugins; then
236 if has_file "plugins/${plugin}/Makefile.cvs"; then
237 if ! has_file "plugins/${plugin}/admin"; then
260 if ${TEST_BUILD} && ! has_file "admin"; then
/dports/net-im/licq-osd/licq-f271d55/scripts/
H A Dcreate-licq-tarball200 function has_file()
218 if has_file "Makefile.cvs"; then
224 if has_file plugins; then
236 if has_file "plugins/${plugin}/Makefile.cvs"; then
237 if ! has_file "plugins/${plugin}/admin"; then
260 if ${TEST_BUILD} && ! has_file "admin"; then
/dports/net-im/licq/licq-f271d55/scripts/
H A Dcreate-licq-tarball200 function has_file()
218 if has_file "Makefile.cvs"; then
224 if has_file plugins; then
236 if has_file "plugins/${plugin}/Makefile.cvs"; then
237 if ! has_file "plugins/${plugin}/admin"; then
260 if ${TEST_BUILD} && ! has_file "admin"; then
/dports/net-im/licq-icq/licq-f271d55/scripts/
H A Dcreate-licq-tarball200 function has_file()
218 if has_file "Makefile.cvs"; then
224 if has_file plugins; then
236 if has_file "plugins/${plugin}/Makefile.cvs"; then
237 if ! has_file "plugins/${plugin}/admin"; then
260 if ${TEST_BUILD} && ! has_file "admin"; then
/dports/games/endless-sky/endless-sky-0.9.14/tests/
H A Dcheck_xcode.sh11 has_file() { function
63 if [[ "${FILE}" != "WinApp.rc" ]] && ! has_file ${FILE}; then
66 if has_file ${BASENAME}; then
79 if has_file ${FILE}; then
/dports/textproc/p5-Text-Locus/Text-Locus-1.04/t/
H A D40inspect.t14 ok($loc->has_file('foo'));
15 ok($loc->has_file('bar'));
16 ok(!$loc->has_file('baz'));
/dports/devel/R-cran-rprojroot/rprojroot/R/
H A Droot.R21 has_file(x)
177 has_file <- function(filepath, contents = NULL, n = -1L, fixed = FALSE) { function
313 is_r_package <- has_file("DESCRIPTION", contents = "^Package: ")
316 is_remake_project <- has_file("remake.yml")
322 is_projectile_project <- has_file(".projectile")
325 is_git_root <- has_dir(".git") | has_file(".git", contents = "^gitdir: ")
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/protobuf/php/src/Google/Protobuf/Internal/
H A DFileDescriptorSet.php25 private $has_file = false; variable in Google\\Protobuf\\Internal\\FileDescriptorSet
59 $this->has_file = true;
66 return $this->has_file;
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/protobuf/php/src/Google/Protobuf/Internal/
H A DFileDescriptorSet.php25 private $has_file = false; variable in Google\\Protobuf\\Internal\\FileDescriptorSet
59 $this->has_file = true;
66 return $this->has_file;
/dports/devel/llvm80/llvm-8.0.1.src/tools/clang/tools/extra/clang-tidy/bugprone/
H A DLambdaFunctionNameCheck.cpp39 bool has_file = false; in MacroExpands() local
45 has_file = true; in MacroExpands()
51 if (has_file && has_line) { in MacroExpands()
/dports/devel/llvm70/llvm-7.0.1.src/tools/clang/tools/extra/clang-tidy/bugprone/
H A DLambdaFunctionNameCheck.cpp39 bool has_file = false; in MacroExpands() local
45 has_file = true; in MacroExpands()
51 if (has_file && has_line) { in MacroExpands()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang-tools-extra/clang-tidy/bugprone/
H A DLambdaFunctionNameCheck.cpp38 bool has_file = false; in MacroExpands() local
44 has_file = true; in MacroExpands()
50 if (has_file && has_line) { in MacroExpands()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang-tools-extra/clang-tidy/bugprone/
H A DLambdaFunctionNameCheck.cpp38 bool has_file = false; in MacroExpands() local
44 has_file = true; in MacroExpands()
50 if (has_file && has_line) { in MacroExpands()
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/tools/extra/clang-tidy/bugprone/
H A DLambdaFunctionNameCheck.cpp38 bool has_file = false; in MacroExpands() local
44 has_file = true; in MacroExpands()
50 if (has_file && has_line) { in MacroExpands()
/dports/devel/llvm12/llvm-project-12.0.1.src/clang-tools-extra/clang-tidy/bugprone/
H A DLambdaFunctionNameCheck.cpp38 bool has_file = false; in MacroExpands() local
44 has_file = true; in MacroExpands()
50 if (has_file && has_line) { in MacroExpands()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang-tools-extra/clang-tidy/bugprone/
H A DLambdaFunctionNameCheck.cpp38 bool has_file = false; in MacroExpands() local
44 has_file = true; in MacroExpands()
50 if (has_file && has_line) { in MacroExpands()
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/tools/extra/clang-tidy/bugprone/
H A DLambdaFunctionNameCheck.cpp38 bool has_file = false; in MacroExpands() local
44 has_file = true; in MacroExpands()
50 if (has_file && has_line) { in MacroExpands()
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/tools/extra/clang-tidy/bugprone/
H A DLambdaFunctionNameCheck.cpp38 bool has_file = false; in MacroExpands() local
44 has_file = true; in MacroExpands()
50 if (has_file && has_line) { in MacroExpands()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang-tools-extra/clang-tidy/bugprone/
H A DLambdaFunctionNameCheck.cpp38 bool has_file = false; in MacroExpands() local
44 has_file = true; in MacroExpands()
50 if (has_file && has_line) { in MacroExpands()

1234567891011