コード例 #1
0
ファイル: ScriptLocation.cs プロジェクト: jdruin/F5Eagle
        ///////////////////////////////////////////////////////////////////////////////////////////////

        #region Public Static Methods
        public static string NormalizeFileName(
            Interpreter interpreter,
            string fileName
            )
        {
            if (!PathOps.HasPathWildcard(fileName) &&
                PathOps.HasDirectory(fileName))
            {
                return(PathOps.GetUnixPath(PathOps.ResolveFullPath(
                                               interpreter, fileName)));
            }

            return(fileName);
        }