String implements fmt.Stringer.String.
()
| 1801 | |
| 1802 | // String implements fmt.Stringer.String. |
| 1803 | func (f *MemoryFile) String() string { |
| 1804 | f.mu.Lock() |
| 1805 | defer f.mu.Unlock() |
| 1806 | return f.stringLocked() |
| 1807 | } |
| 1808 | |
| 1809 | // Preconditions: f.mu must be locked. |
| 1810 | func (f *MemoryFile) stringLocked() string { |
nothing calls this directly
no test coverage detected