ResolveFileIO resolves a FileIO instance using the current execution context. The provider controls whether the returned instance is fresh or cached.
(ctx context.Context)
| 51 | // ResolveFileIO resolves a FileIO instance using the current execution context. |
| 52 | // The provider controls whether the returned instance is fresh or cached. |
| 53 | func (f *Factory) ResolveFileIO(ctx context.Context) fileio.FileIO { |
| 54 | if f == nil || f.FileIOProvider == nil { |
| 55 | return nil |
| 56 | } |
| 57 | return f.FileIOProvider.ResolveFileIO(ctx) |
| 58 | } |
| 59 | |
| 60 | // ResolveAs returns the effective identity type. |
| 61 | // If the user explicitly passed --as, use that value; otherwise use the configured default. |
nothing calls this directly
no test coverage detected