func NewFileInfo(
	path string,
	externalPath string,
	isImport bool,
	moduleIdentity ModuleIdentity,
	commit string,
) (FileInfo, error) {
	return newFileInfo(
		path,
		externalPath,
		isImport,
		moduleIdentity,
		commit,
	)
}
// NewFileInfo returns a new FileInfo.
//
// TODO: we should make moduleIdentity and commit options.
// TODO: we don't validate commit
NewFileInfo returns a new FileInfo.

we should make moduleIdentity and commit options.
TODO: we don't validate commit
// NewFileInfo returns a new FileInfo . // // TODO : we should make moduleIdentity and commit options . // TODO : we don ' t validate commit
func NewFileInfo(
	path string,
	externalPath string,
	isImport bool,
	moduleIdentity ModuleIdentity,
	commit string,
) (FileInfo, error) {
	return newFileInfo(
		path,
		externalPath,
		isImport,
		moduleIdentity,
		commit,
	)
}
func NewFileInfo ( path string , externalPath string , isImport bool , moduleIdentity ModuleIdentity , commit string , ) ( FileInfo , error ) { return newFileInfo ( path , externalPath , isImport , moduleIdentity , commit , ) }
NewFileInfo returns a new FileInfo.
NewFileInfo returns a new FileInfo .