Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/treeverse/dvc
/ isfile
Method
isfile
dvc/output.py:660–663 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
658
return
self.fs.isdir(self.fs_path)
659
660
def
isfile(self) -> bool:
661
if
self._is_path_dvcignore(self.fs_path):
662
return
False
663
return
self.fs.isfile(self.fs_path)
664
665
def
ignore(self) -> None:
666
if
not self.use_scm_ignore:
Callers
15
save
Method · 0.95
set_exec
Method · 0.95
is_ignored
Method · 0.80
is_dvc_file
Function · 0.80
_load
Method · 0.80
_ls
Function · 0.80
_copy_path
Method · 0.80
test
Method · 0.80
test_partial_remove
Function · 0.80
save
Method · 0.80
_get
Method · 0.80
test_cloud_cli
Function · 0.80
Calls
1
_is_path_dvcignore
Method · 0.95
Tested by
15
test
Method · 0.64
test_partial_remove
Function · 0.64
test_cloud_cli
Function · 0.64
test_cleanfs_subrepo
Function · 0.64
test_get_repo_file
Function · 0.64
test_get_repo_file_no_override
Function · 0.64
test_get_repo_file_with_override
Function · 0.64
test_post_checkout
Method · 0.64
test_add
Function · 0.64
test_add_unicode
Function · 0.64
test_add_commit
Function · 0.64
test_windows_should_add_when_cache_on_different_drive
Function · 0.64