``` echo 'dir/foo' > .dvcignore dvc add dir # should ignore foo and not take it into account when computing mtime and size ```