示例#1
0
        private static bool IsWritableImpl(RubyContext /*!*/ context, string /*!*/ path)
        {
            FileSystemInfo fsi;

            if (RubyStatOps.TryCreate(context, path, out fsi))
            {
                return(RubyStatOps.IsWritable(fsi));
            }
            else
            {
                return(false);
            }
        }