MCPcopy Create free account
hub / github.com/go-git/go-git / Stat

Method Stat

storage/filesystem/dotgit/repository_filesystem.go:65–67  ·  view source on GitHub ↗
(filename string)

Source from the content-addressed store, hash-verified

63}
64
65func (fs *RepositoryFilesystem) Stat(filename string) (os.FileInfo, error) {
66 return fs.mapToRepositoryFsByPath(filename).Stat(filename)
67}
68
69func (fs *RepositoryFilesystem) Rename(oldpath, newpath string) error {
70 return fs.mapToRepositoryFsByPath(oldpath).Rename(oldpath, newpath)

Calls 1