update comment

This commit is contained in:
Denis Bilenko 2024-12-02 11:36:21 +01:00
parent 855956ec54
commit c14b5371d2
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ type FileSet struct {
view *View
}
// NewFileSet returns [FileSet] for the directory `root` which is contained within Git repository located at `worktreeRoot`.
// NewFileSet returns [FileSet] for the directory `root` which is contained within Git worktree located at `worktreeRoot`.
func NewFileSet(worktreeRoot, root vfs.Path, paths ...[]string) (*FileSet, error) {
fs := fileset.New(root, paths...)
v, err := NewView(worktreeRoot, root)