Show / Hide Table of Contents

Class FileLookup

File lookup helpers that preserve the document archive's historic case-insensitive (Windows) semantics on case-sensitive file systems such as Linux.

Inheritance
object
FileLookup
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.IO.Files
Assembly: SoCore.dll
Syntax
public static class FileLookup

Methods

ResolveFileIgnoreCase(string)

Resolve a file path to the path of an existing file, falling back to a case-insensitive match of the file name on non-Windows platforms. Database content may not match the on-disk casing, which is harmless on Windows but fatal on e.g. ext4.

Declaration
public static string ResolveFileIgnoreCase(string fullPath)
Parameters
Type Name Description
string fullPath

Full path of the wanted file

Returns
Type Description
string

Path to an existing file - possibly with different casing of the file name - or null if not found

© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top