kOS.Safe.Persistence.Harddisk.Open C# (CSharp) 메소드

Open() 공개 메소드

public Open ( VolumePath path, bool ksmDefault = false ) : VolumeItem
path VolumePath
ksmDefault bool
리턴 VolumeItem
        public override VolumeItem Open(VolumePath path, bool ksmDefault = false)
        {
            if (path.Depth == 0) {
                return Root;
            }

            HarddiskDirectory directory = ParentDirectoryForPath(path);

            return directory == null ? null : directory.Open(path.Name, ksmDefault);
        }